API
Babylon Lite API
|
getClosestPoint
…
|
Babylon Lite API
|
getClosestPoint
getClosestPoint
Function getClosestPoint
getClosestPoint
(
plugin
:
NavigationPlugin
,
position
:
Vec3
)
:
Vec3
Snap a position to the closest point on the navmesh.
Parameters
plugin
:
NavigationPlugin
position
:
Vec3
Returns
Vec3
Snap a position to the closest point on the navmesh.