Navmeshagent treats triggers like colliders
Hi I'm new to unity and got a question regarding NavMeshAgent.
I have a character and a monster in my scene. The monster is patrolling using a NavMeshAgent, and has a trigger with 16f radius. And my character is using a click-to-move script with another NavMeshAgent. When I want to move my character using left clicks, the character moves as intended, however, when the point I click on is inside of the monster's trigger collider, my player either doesnt move at all, or when it does, it treats the trigger like a collider and can not get inside.
Any idea on whats wrong here ?
Hi there, I know this post is from a while ago but did you ever solve the issue? I'm having the same problem: my nav mesh agent is getting blocked by a box collider marked as a trigger.
Attach the Nav$$anonymous$$esh Obstacle Component on your box Collider.
You misunderstand, it's a trigger collider. I want the Nav $$anonymous$$esh Agent to walk through it, but it's getting stuck as if it's hitting an invisible wall. It's trying to path through it as normal, but as soon as the agent reaches it it stops.
Your answer
Follow this Question
Related Questions
Triggers colliding with triggers 1 Answer
What do i do if i have problems with tags? 1 Answer
Calling "OnTriggerEnter" when a parent object has a rigidbody 0 Answers
Trigger Collider is Triggering? 0 Answers
Trigger enter and directly Exit 0 Answers