- Home /
Scale animation with model
Hello,
I've been following the Unity's official Mechanim tutorial which teaches how to animate a robot to run, jump, roll etc. ( http://www.youtube.com/watch?v=Xx21y9eJq1U )
However, the scene I'm trying to use this with is quite large, and I have to scale up my custom character model about 10 times. When I animate it with Mechanim using the animations you get with the tutorial, the animations are reeeally slow on the character.
Is there any way to "scale" the animation with the model? I tried changing animation speed, but that just makes it look silly. Is there a way to modify the amount of distance the animation covers, or something?
Thanks in advance for the reply.
Answer by iwaldrop · Jul 04, 2013 at 12:16 AM
You should scale the model in the import settings. Select the GameObject with the SkinnedMeshRenderer. Click the mesh. Clicking on the object that contains the mesh will change your Inspecter window to the import settings for that file (fbx, obj, et al). Increase the Scale Factor by a factor of 10 there, and you should be good.
Edit: Upon reading your question again, it seems that you might be moving your mesh via the animation? This is generally a bad idea. Generally speaking the animations shouldn't have translation keys; instead you should move your object using Unity. My above suggestion may not fix your issue if this is the case.
Your answer
Follow this Question
Related Questions
Model shrinking during animation 1 Answer
Cutscenes from video 1 Answer
Cropping animation clip of FBX file at import 0 Answers
unity3d import model made from maya problem 1 Answer
Using twist links on a biped with Unity 6 Answers