#Enemies path to position off NavRegion and not to set target

1 messages · Page 1 of 1 (latest)

earnest pawn
#

Im not used to the nav mesh in godot so take this with a grain of salt:

You are using global coordinates for the car but it doesn't look like the agents are using global coordinates. Try setting the cars coordinate to the nav mesh local coordinate?

#

Var Carpos = Nav_mesh.global_to_local(car.global_position)