x


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!

more ▼

asked May 06 '12 at 06:01 PM

slayer29179 gravatar image

slayer29179
361 12 19 23

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.

May 07 '12 at 10:23 PM tenfour

yup :/ when I try to loop animations they have a long pause in them there must be a way to remove it

May 08 '12 at 05:16 AM slayer29179
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

someone posted a workaround in this thread: http://forum.unity3d.com/threads/131340-Reduce-animationclip-length

I'm an artist though

more ▼

answered May 08 '12 at 02:37 PM

RichMakeGame gravatar image

RichMakeGame
81 1 1 2

ahh thank you! :) turns out its just a bug

May 08 '12 at 06:28 PM slayer29179
(comments are locked)
10|3000 characters needed characters left

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!

more ▼

answered May 08 '12 at 02:37 PM

RichMakeGame gravatar image

RichMakeGame
81 1 1 2

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered May 06 '12 at 06:06 PM

fafase gravatar image

fafase
10.5k 9 15 41

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

May 06 '12 at 06:11 PM slayer29179
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3778
x116
x31
x15

asked: May 06 '12 at 06:01 PM

Seen: 1098 times

Last Updated: May 08 '12 at 06:28 PM