mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[sdl] Call spSkeleton_update() for physics.
This commit is contained in:
parent
b2b0a3dc42
commit
9d14027ebb
@ -63,6 +63,7 @@ void spSkeletonDrawable_dispose(spSkeletonDrawable *self) {
|
||||
void spSkeletonDrawable_update(spSkeletonDrawable *self, float delta, spPhysics physics) {
|
||||
spAnimationState_update(self->animationState, delta);
|
||||
spAnimationState_apply(self->animationState, self->skeleton);
|
||||
spSkeleton_update(self->skeleton, delta);
|
||||
spSkeleton_updateWorldTransform(self->skeleton, physics);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user