x


Problem with the animation curve.

I have a strange problem. When I set the first keyframe Unity automatically applays a flat animation curve like that: alt text

Then I add the second key and now the animation curve looks like that:

alt text

I simply want to make a looped 360 degree rotation animation. Instead I get a 360 rotation animation then a no movement span(while the yellow curve is flat) and then again 360 rotation, etc.

So how do I make the final key to be the last frame before animation goes back to frame 0? Can I specify somehow the number of a frame or the time after which the animation starts from the beginning?

11.jpg (43.1 kB)
22.jpg (24.6 kB)
more ▼

asked Aug 20 '12 at 12:19 PM

h0stis gravatar image

h0stis
157 19 25 33

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

1 answer: sort voted first

if your animation goes further your last keyframe it means you have a different keyframe somewhere else. Check the other properties of your game object or properties on his children.

more ▼

answered Aug 20 '12 at 01:20 PM

hvilela gravatar image

hvilela
2.1k 8 14 30

thanks! I'll try to find a different keyframe, but I have not animated anithing in the model yet.

Aug 20 '12 at 02:12 PM h0stis

You may have create a keyframe by mistake. It happens often cause if you change any property while in the animation edit mode it auto generates an keyframe for you.

Aug 20 '12 at 02:19 PM hvilela
(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:

x3776

asked: Aug 20 '12 at 12:19 PM

Seen: 226 times

Last Updated: Aug 20 '12 at 02:19 PM