Floating, sliding character animations in Unity

Well, I got the root motion problem fixed, but then I noticed that the character was sliding around and floating.

This can be fixed with the animation import settings:
Root Transform Position(Y)
+ Bake into Pose
Based Upon: Original

Root Transform Position(XZ)
+ Bake into Pose
Based Upon: Original

*I didn't notice much difference in the Based Upon settings



this is from the Unity manual

Root Transform Position (Y)
        Bake into PoseEnable to make vertical root motion be baked into the movement of the bones. Disable to make vertical root motion be stored as root motion.
        Based UponWhat the vertical root position is based upon.
         - OriginalKeeps the vertical position as it is authored in the source file.
         - Center of MassKeeps the center of mass aligned with root transform position.
         - FeetKeeps the feet aligned with the root transform position.
        OffsetOffset to the vertical root position.
Root Transform Position (XZ)
        Bake into PoseEnable to make horizontal root motion be baked into the movement of the bones. Disable to make horizontal root motion be stored as root motion.
        Based UponWhat the horizontal root position is based upon.
         - OriginalKeeps the horizontal position as it is authored in the source file.
         - Center of MassKeeps the center of mass aligned with the root transform position.
        OffsetOffset to the horizontal root position.
related posts:

Comments

Popular posts from this blog

on middlebrow

guy