UntoldEngine
UntoldEngine copied to clipboard
Issue with animation keyframes and interpolations
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.