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 Pose | Enable 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 Upon | What the vertical root position is based upon. |
| - Original | Keeps the vertical position as it is authored in the source file. |
| - Center of Mass | Keeps the center of mass aligned with root transform position. |
| - Feet | Keeps the feet aligned with the root transform position. |
| Offset | Offset to the vertical root position. |
| Root Transform Position (XZ) | |
| Bake into Pose | Enable 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 Upon | What the horizontal root position is based upon. |
| - Original | Keeps the horizontal position as it is authored in the source file. |
| - Center of Mass | Keeps the center of mass aligned with the root transform position. |
| Offset | Offset to the horizontal root position. |
Comments
Post a Comment