- Home /
Question by
Compaund · Oct 03, 2017 at 01:47 AM ·
navmeshagentontriggerenterontriggerexitcalling
ontriggerenter multiple call problem
Hi! Unity Version: 2017.1.1f1. Problem: on object1(Cube, Box Collider- IsTrigger, script with method OnTriggerEnter/OnTriggerExit) we place object2 (Cube, add components Rigidbody and NavMeshAgent) - methods OnTriggerEnter/OnTriggerExit start to be called constantly. if you remove the component NavMeshAgent from object2, then everything works fine and the methods are called once, as it should be. Why?
Comment
Here is a complete description. Adding a component Nav$$anonymous$$eshAgent from object2 causes such ambiguous behavior for methods OnTriggerEnter/OnTriggerExit. With what exactly is it connected and are there ways to solve and try to learn...