Skip to content

Commit

Permalink
[sdl] Call spSkeleton_update() for physics.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Nov 7, 2024
1 parent b2b0a3d commit 9d14027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spine-sdl/src/spine-sdl-c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9d14027

Please sign in to comment.