- Home /
How to apply root motion to Blender animation
hello, i'm new to unity.. as the title says, i have a character with walkcycle animation which i made in blender.. but when i export it as fbx file to unity and try to play it in preview, the walkcycle animation stay in place..
my question is, how can i make the animation move forward? thank you
An imported model/animation from Blender does not "move forward" unless you've done something quite different. You still need to move the Player via script logic (while playing the animation "walk" or whatever); not sure I understood you.
Answer by ArkarKyaw · Mar 07, 2014 at 05:29 AM
I got this problem also and I found solution myself after searching a few hours. Solution is as shown in figure :)
PS.worked in Pose Mode
Answer by DSOrnstein · Sep 10, 2014 at 06:12 AM
I just discovered how to do this. I was having the same problem, and I couldn't find the answer on google. So this is how I did it:
Go into Object mode, select the armature(Object) and animate it on your walk cycle action.
Export to unity in fbx format.
Then select your character asset, on the inspector(Importer), choose Animations:

Choose your walk cycle clip.

Scroll down, and on the Root Transform Positon(Y), check Bake Into Pose, and choose Root Node Position.
Now choose the Rig option

Now on the Root Node option choose the bone or object where the movement is coming from. In my case, I moved the armature as and Object, so I chose rig(Name of my armature).
I hope this helps other people with the same problem.
Answer by RyanPaterson · Jan 19, 2014 at 10:11 AM
Like getyour411 said, you need to move the object yourself. In blender you animate the object walking in the same spot, and then in unity you move it. You could also (say if it was for a cinematic scene) move it yourself in the animation panel. Check out this tutorial for the very basics- http://www.youtube.com/watch?v=KWC6Pw63BAY
But the best way is by code. E.g. // animation.play("walk"); and put that where your movement is.
thank you for the replies.. i quite understand what you mean by using script to move my character forward in the game scene.. but what i mean is when i played my animation on preview window it stay in place, i've seen an animation that moves forward when it played on preview window..
here is an image of my animation on preview windows.. can i make it move forward according to the footsteps?

Your answer
Follow this Question
Related Questions
Problems with an animation 0 Answers
My model is moving during animation but it should not be 1 Answer
Blender, Maya animations 2 Answers
How can I get a blender FBX file's animations working in Unity? 0 Answers
Blender animation 1 Answer