llGetClosestNavPoint
function ll.GetClosestNavPoint(Point: vector, Options: {any}): {any}Get the closest navigable point to the point provided.
The function accepts a point in region-local space (like all the other path-finding methods) and returns either an empty list or a list containing a single vector which is the closest point on the navigation-mesh to the point provided.
Parameters
-
Point(vector) - A point in region-local space.
-
Options({any}) - No options at this time.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetClosestNavPoint().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetClosestNavPoint