- Home /
 
 
               Question by 
               Praquenome · Jan 17, 2019 at 02:46 AM · 
                animationcollisioncollidersfirst-person-controllerhow  
              
 
              How to make the animation collide with walls
Can someone help me how to make the animation collide with walls and/or objects.

 
                 
                anigif.gif 
                (164.2 kB) 
               
 
              
               Comment
              
 
               
              Answer by cs120319992 · Jan 18, 2019 at 02:04 PM
If your player have animations for walk, run ... and have rigidbody and colliders so then OnColliderEnter off animator (gameObject.GetComponent().enable = false); and in rigidbody set body type to dynamicaly, simulated to true
Your answer
 
             Follow this Question
Related Questions
how to make an animated object interact with a rigidbody? 1 Answer
How to get the first person controller to collide with an animated object? 1 Answer
How to tell if a 2D object is in a certain area 2 Answers
Playing a different sprite prefab on collission. 1 Answer
Why is my player object not moving where it is pointing? 1 Answer