- Home /
Animation Window: Delete part of the timeline
Hey all, I created an Animation in the animation window (part of Unity) and the whole animation is 5.0 seconds long. It works perfect except The rotation goes on till 9.0 seconds. Which makes it not loop properly, Its like there is a key frame at the end and its waiting for it but when it reaches 9 it loops again. How do I get rid of these extra seconds? There is no key-frame, there is no key-frame it just ends... I have tried adding a key-frame at the end then deleting it but noting it just stays there please help, I really don't want to have to have to start the whole animation again. thank you!
I have the exact same issue. I have no key frames beyond a certain point, but the animation length goes past the last keyframe. As a result, I can't rely on the animation.GetClip.length parameter in code.
yup :/ when I try to loop animations they have a long pause in them there must be a way to remove it
Answer by RichMakeGame · May 08, 2012 at 02:37 PM
someone posted a workaround in this thread: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length
I'm an artist though
Answer by fafase · May 06, 2012 at 06:06 PM
You should be able to delete it. Right click on the key and delete key. Or then drag it real close to the last one they will automatically fusion into one.. But deleting should work. Works for me.
thanks for replying but no luck, the yellow line for the Rotation.y just stays on 9.0, if I drag the red cursor after the 9 it will extend the yellow line but if I drag it back it just stays there
Answer by RichMakeGame · May 08, 2012 at 02:37 PM
someone posted a workaround here: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length
I'm just an artist and I don't know how to use the fix though. If anyone gets it working please post instructions, thanks!
Answer by gordee · Mar 11, 2015 at 01:01 PM
you dont need code. go into the dope sheet and there will be keyframe markers at the end delete them and all is fixed
Answer by gordee · Mar 11, 2015 at 02:06 PM
Go into the dope sheet and there will be keyframe markers at the end delete them and all is fixed