- Home /
Does NavMeshAgent disable a gameObject's collider?
I have a series of GameObjects controlled by NavMeshAgents in my scene. They all have BoxColliders attached. They're supposed to be destroyed when they enter certain triggers in the scene, but none of the OnTrigger* functions are ever called. They're called for other colliders, but none that have NavMeshAgents.
Is this a known issue? By design?
Answer by greay · May 04, 2012 at 04:02 PM
turns out they didn't have Rigidbodies attached. Even though I'm sure I double-checked that. But yeah, the OnTrigger* functions need a rigidbody.
Your answer
Follow this Question
Related Questions
Navmesh sometimes falling through world when enabled 0 Answers
NPC's bump into eachother trying to reach a position 1 Answer
How do I get a navmesh agent to stop at the edge of a collider? 0 Answers
OnTriggerEnter not activating with NavMesh movement 2 Answers
How to have a navmeshagent not move rigidbodies in my world? 0 Answers