[ue] Update skeleton time in widget on tick

This commit is contained in:
Mario Zechner 2024-05-02 15:31:27 +02:00
parent da3d1cd4b3
commit 39635f7566

View File

@ -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);
}