- Home /
Animation with minimum length?
Hi there, I recently tried creating an animation within unity of a simple object rotating, but there seems to be a minimum length of the animation, as in I set the 4 keyframes, set it to loop, but there is still an area, where the animation just stops...
Does anyone have a fix for this, or do I just have to wait for Unity 4?
I don't have Unity in front of me to test this but are you sure there is a $$anonymous$$imum length ? Seems strange to me
Answer by Screenhog · Sep 10, 2012 at 06:32 PM
I've sometimes had a bug where I will remove a keyframe from the end of an animation curve, and the animation will still believe it has the same length, even though there are no longer keys there. The animation's length is based on the length of its longest animation curve, causing the looping problem.
If this is what's happening with you, I believe this page may be of use to you: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length