Closed SpotTrace closed 1 year ago
Make anim events work when an animation is running in reverse due to using a negative speed setting.
In the Animation Events example, if you swap the sign on the speed, the anim events don't fire:
113: modelEntity.anim.assignAnimation("Walk", walkTrack, undefined, -0.62);
forum link https://forum.playcanvas.com/t/anim-events-for-reversed-anims/23346/3
Description
Make anim events work when an animation is running in reverse due to using a negative speed setting.
Steps to Reproduce
In the Animation Events example, if you swap the sign on the speed, the anim events don't fire:
113: modelEntity.anim.assignAnimation("Walk", walkTrack, undefined, -0.62);