engine
engine copied to clipboard
Should Anim activeStateCurrentTime be capped between 0 and duration in a non looped stated?
Related thread: https://forum.playcanvas.com/t/feedback-animstategraph-reverse-animation-even-when-finished/26397
See project where an unloop state animation is playing forwards and backwards
https://playcanvas.com/project/954386/overview/animation-time-issue
The activeStateCurrentTime is going pass the bounds of 0 and duration which means when changing speeds to the opposite direction, it doesn't playback correctly
(Press Space to reverse direction of speed)
https://user-images.githubusercontent.com/16639049/177550543-45a06916-d102-4c4a-ba54-ff496d3ac7a5.mp4