API
Babylon Lite API
|
computePath
…
|
Babylon Lite API
|
computePath
computePath
Function computePath
computePath
(
plugin
:
NavigationPlugin
,
start
:
Vec3
,
end
:
Vec3
)
:
Vec3
[]
Compute a path between two world positions, snapped to the navmesh.
Parameters
plugin
:
NavigationPlugin
start
:
Vec3
end
:
Vec3
Returns
Vec3
[]
Compute a path between two world positions, snapped to the navmesh.