- Home /
NavMesh Obstacles script doesnt work
Hello! I have the following Problem: When I enable the NavMesh-Obstacle Script on my unit, it's going to move crazy:
It doesnt matter if carve is enabled or not, the same shit happens. How can I solve this problem?
Answer by drawcode · Mar 15, 2014 at 01:16 PM
The radius and height is probably too big and interfering with the character controller possibly. Maybe take a shot on pause with gizmos on and take a look at the colliders. I know if I have a CharacterController and a NavMesh agent if on a NavMesh it can appear to be on ice if the colliders are off.
Also, for actors that move you need a NavMeshAgent but not also a collider, only static items or non NavMesh controlled agents need colliders if they are going to interact with it. Your situation might be better with an agent script where a level item or dynamic/moving level item might need a collider or a dynamic navmesh agent.
Thanks for your answer. The CC-settings are the same like the transform-properties and I removed the attached collider, but nothing changed.