- Home /
Animate Physics. Moving a rigidbody with an animation
I have a character that throws a rope. I need the rope to move with the players hand as he throws it. However, the animation update happens after fixed update which is when I need the new position of the hand to update the rope. If I move the rope piece (I set the piece in the hand to kinematic) in LateUpdate then it breaks the physics, whereas if I move the rope in FixedUpdate then its always a frame behind! Even with the animation update set to AnimatePhysics, the animation update still happens after FixedUpdate.
Any solutions to this?
This is a random comment but if you do move the rope in FixedUpdate and you do know that it's 1 frame behind wouldn't it be easier to just make the animation finish 1 frame earlier? Of course, only if it doesn't break the animation.
I don't think so, I need the rope to be where the hand is. Can't do it the other way around!
Your answer
Follow this Question
Related Questions
Animation causes rigidbody to move 0 Answers
How do you move a character with physics when using Animator.setInteger to play the animations? 0 Answers
Use AddForce with Animations?? 2 Answers
Mecanim and Physics 3 Answers
Having Animator and Physics Play Well 0 Answers