- Home /
 
 
               Question by 
               Holtham · May 20, 2017 at 09:14 AM · 
                animationcollisionrigidbodycollideranimator controller  
              
 
              How to stop an animation on collision
I have a character that's set to look at and follow a cube, I am then using an animator controller to make the character walk, but I want it to stop when it collides with the cube, I have a capsule collider set to my character with rigidbody and a box collider on the cube, so the character stops moving when it reaches the cube, however the animation keeps playing so the character is walking on the spot, how do I stop the animation on collision with the cube?
               Comment
              
 
               
              Your answer