Navigation2D.getSimplePath

Returns the path between two given points. Points are in local coordinate space. If optimize is true (the default), the path is smoothed by merging path segments where possible.

struct Navigation2D
@nogc nothrow
PoolVector2Array
getSimplePath
(
in Vector2 start
,
in Vector2 end
,
in bool optimize = true
)

Meta