UntoldEngine icon indicating copy to clipboard operation
UntoldEngine copied to clipboard

Issue with animation keyframes and interpolations

Open untoldengine opened this issue 6 years ago • 0 comments

This is not an issue per se, but I've noticed that depending on the animations, the interpolations time is repeating multiple times. For example:

The following code snippet should only be true once:

if (currentAnimation->getCurrentKeyframe()==2 && currentAnimation->getCurrentInterpolationTime()==0) {        
        //Do something here
 }

However, depending on the animation, it may be true multiple times.

untoldengine avatar Dec 11 '19 19:12 untoldengine