Function 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.