Question by 
               SkyGolem · Nov 24, 2018 at 08:39 AM · 
                collidercollidersnavmeshagentnavigationsliding  
              
 
              NavMeshAgent slides to infinity when pushed
I have a navmeshagent following the player until he is like 1 unit away. However when the player manages to touch the navmeshagent, it slides away (about twice as fast as its normal speed) and doesn't stop until he hits another collider.
NavMeshAgent: [Transform, Mesh Filter, Box Collider, Mesh Renderer, Rigidbody, Custom Script (doesn't effect movement), Nav Mesh Agent (Speed: 7, Acceleration: As good as infinite)] Player: [Transform, Mesh Filter, Box Collider, Mesh Renderer, Rigidbody, Custom Script (effects the players velocity)]
 //thats on the player
  GetComponent<Rigidbody>().velocity = new Vector3(10f, GetComponent<Rigidbody>().velocity.y, GetComponent<Rigidbody>().velocity.z);
 
               The scene is a flat plane with some obstacles on it and the player and NavMeshAgent do not yet have animations.
I hope that's enough information, thanks for help
               Comment
              
 
               
              Your answer