Navigation.getSimplePath

Returns the path between two given points. Points are in local coordinate space. If optimize is true (the default), the agent properties associated with each NavigationMesh (radius, height, etc.) are considered in the path calculation, otherwise they are ignored. Note: This method has known issues and will often return non-optimal paths. These issues will be fixed in Godot 4.0.

struct Navigation
@nogc nothrow
PoolVector3Array
getSimplePath
(
in Vector3 start
,
in Vector3 end
,
in bool optimize = true
)

Meta