- Home /
How do you move a character with physics when using Animator.setInteger to play the animations?
I am using Animator set intger to play the charcters animations and while add force seems to work add relative force does not. however i used a cube with the same code and it worked. Also if i add in no movement code the characters animations do not actually move them. Also both the cubes and the charaters have box colliders and a rigidbody attached with the same values
myRigid.AddRelativeForce (speed * transform.forward * Time.deltaTime,ForceMode.VelocityChange);
Comment
Your answer
Follow this Question
Related Questions
Animation causes rigidbody to move 0 Answers
Animate Physics. Moving a rigidbody with an animation 0 Answers
Use AddForce with Animations?? 2 Answers
My animation and player movement are messing with each other 0 Answers
Animation in android game not working 2 Answers