mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-17 20:41:38 +08:00
[ue] Update skeleton time in widget on tick
This commit is contained in:
parent
da3d1cd4b3
commit
39635f7566
@ -134,6 +134,7 @@ void USpineWidget::Tick(float DeltaTime, bool CallDelegates) {
|
||||
state->update(DeltaTime);
|
||||
state->apply(*skeleton);
|
||||
if (CallDelegates) BeforeUpdateWorldTransform.Broadcast(this);
|
||||
skeleton->update(DeltaTime);
|
||||
skeleton->updateWorldTransform(Physics_Update);
|
||||
if (CallDelegates) AfterUpdateWorldTransform.Broadcast(this);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user