GetClosestNavPointParam
Constants in the GetClosestNavPointParam enum.
CHARACTER_TYPE // Specifies the preferred surface and terrain terrain-type for the character (default is CHARACTER_TYPE_NONE).GCNP_RADIUS // Used with llGetClosestNavPoint to limit how far out to search for a navigation point.GCNP_STATIC // Used with llGetClosestNavPoint to specify that the test should use the static navmesh, ignoring all dynamic obstacles.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
CHARACTER_TYPE | integer | 6 | Specifies the preferred surface and terrain terrain-type for the character (default is CHARACTER_TYPE_NONE). Used to describe preferred surfaces rather than behavior (e.g., cows prefer type B, sheep herded along a road prefer type C). |
GCNP_RADIUS | integer | 0 | Used with llGetClosestNavPoint to limit how far out to search for a navigation point. |
GCNP_STATIC | integer | 1 | Used with llGetClosestNavPoint to specify that the test should use the static navmesh, ignoring all dynamic obstacles. |
Used by
llGetClosestNavPointfunctionReturns a list containing the closest vector position on the navigation mesh (navmesh) to the specified point (expressed in region-local space), or an empty list if none is found. Configured using options.