Search code examples
unity-game-engine2dragdoll

Unity how to animate object's position without freezing it's position


I am currently working on a unity project and I have a stickman built by Hinge Joints but when I animate his legs and activate the animation, the legs stays at the same position and the rest of the body is moving forward.

How can I animate the legs without freezing it's position?


Solution

  • This worked for me:

    Anchor and Axis should be correct, if it works with a motor. For testing, deactivate "Use Spring", "Use Limits" and "Use Motor". If it still doesn't move, you should have a look at the rigidbody. "Is Kinematic" should be deactivated as well.

    From here