NavMesh Pathfinding

How do I use Navigation Mesh Pathfinding?

The bounding box look weird and the object wont move

There needs to be at least 1 obstacle object with the nav mesh obstacle behavior. Are you using the nav mesh move action? The path and destination must also be fully reachable.

It looks like your debug shape painter is not in the right layer.

1 Like

Its on the same layer as the obstacle. Or should it be something else

Is that the bounding box or the path draw function. The Nav Mesh path draw thing is different than the regular pathfinder draw extension.

You need to have at leat 1 object with the obstacle behavior. The player can’t have it unless you disable it before moving it. The path and destination have to be reachable.

It doesn’t look like they are on the same layer since the debug drawing is offset.

Try to uncheck this maybe:

Changed the collision type to be Dot at Center and it look like it kinda work. But why is it cut off?

because you didn’t set area bounds