- Home /
How to prevent NavMeshAgents from colliding when warped to same position?
The second NavMeshAgent, which is a different agent type than the first, warps to the first NavMeshAgent to test path lengths on a separate NavMeshSurface on the same territory. This warping causes them to collide into each other, which I am trying to prevent. Both agents do not have a Rigidbody.
Some things I've tried:
- Creating new Layer and using Layer Collision Matrix (doesn't work) 
- Obstacle Avoidance Priority (doesn't work when warping agents directly together) 
- Obstacle Avoidance Radius (setting second agent to a 0.001 radius will still move the first agent away by its own radius, and I will set both agents to a 0.001 radius as a last resort) 
The second NavMeshAgent's mesh renderer will be disabled in the final version of the game as it is only used for pathing and navigation checks.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                