- Home /
Scale keyframes? Please advise.
Hello. :]
is there a way to scale keyframes on imported 3d model animations? Im talking about imported animated 3d models; .FBX and/or .OBJ files.
Concerning my 3D animated asset, I noticed the animation name in the animation window says "Take 001 - Read Only" (towards the top of the animation window). Is there a way to make the keyframes, that make up the animation, editable in the animation window so I can scale them? Or is that not possible?
I need to do this because my animation is a bit too slow for what I planned. Instead of going back into Maya to tweak the animation, I was wondering if I could scale these keyframes in Unity? I would like to be able to do this without any scripts if possible. Please advise. Thanks for any help.
Answer by flashframe · May 04, 2015 at 12:42 PM
If it's just the overall speed of the animation you need to adjust, then you can do that in the Animator window for your game object. Highlight the animation clip and change the "speed" setting.
If you need more control over all the keyframes, I believe you can duplicate your animation clip and edit the copy. The reason the original is read-only is to avoid overwriting any changes you have made when reimporting the FBX.
Thanks for the answer but I can't do what you suggested because the animation is read-only. Please re-read my question. Thanks again for any & all help.
After a bit more poking around, I did not know I had to click the orange rectangle in the animator window to display the speed setting (it's still morning...).
So, your suggestion worked after all! I thumbs-up'ed your answer! Thanks! :D
I probably wasn't very clear, sorry. Also, if you twirl down the prefab of your FBX in the assets window, you can see the animation clip. If you duplicate that and attach it to your game object's Animator (replacing the original clip), then you can now move the keyframes. The original clip is read-only, but copies are not.
Interesting! I did not know that. Thanks again for the help! :D
Your answer
Follow this Question
Related Questions
How to scale the changes done to a transform in an Animation on various objects? 1 Answer
Animating aircraft maneuvers - The best way? 1 Answer
Using variables in animation 1 Answer
Animation Window: How to scale keyframes to increase time? 9 Answers
Problem with 2D animation extreme slowdown (Unity 5) 0 Answers