ll.GetClosestNavPoint

ll.GetClosestNavPoint (Point: vector, Options: list) -> list

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.

Example

ll.GetClosestNavPoint(vector(1,1,1), {})
Raw function spec json
{
  "def": "func",
  "desc": "Get the closest navigable point to the point provided.\nThe 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.",
  "energy": 10,
  "sleep": 0,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetClosestNavPoint",
  "private": false,
  "takesSelf": false,
  "name": "GetClosestNavPoint",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Point",
          "desc": "A point in region-local space.",
          "type": [
            {
              "def": "simple",
              "value": "vector"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Options",
          "desc": "No options at this time.",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll