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), {})
{
  "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,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetClosestNavPoint",
  "name": "GetClosestNavPoint",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "list"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Point",
          "desc": "A point in region-local space.",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Options",
          "desc": "No options at this time.",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll