NavigationSystem

Documents the NavigationSystem class and its functions.

triangle-exclamation

Invoking NavigationSystem

To invoke the navigation system, use the following Global function:

ns = Game.NavigationSystem()

Sub-functions

AddObstacle

AddObstacle(position : Vector4, radius : Float, height : Float, agentSize : NavGenAgentSize) : ref:NavigationObstacle;

CalculatePath

CalculatePath(startPoint : Vector4, endPoint : Vector4, agentSize : NavGenAgentSize, findPointTolerance : Float, optional costModCircle : ref:NavigationCostModCircle) : ref:NavigationPath;

FindNavmeshPointAwayFromReferencePoint

FindNavmeshPointAwayFromReferencePoint(pos : Vector4, refPos : Vector4, distance : Float, agentSize : NavGenAgentSize, out destination : Vector4, optional distanceTolerance : Float, optional angleTolerance : Float) : Bool;

FindPointInBox

FindPointInSphere

FindPursuitPoint

FindPursuitPointRange

FindPursuitPointsRange

FindWallInLine

GetFurthestNavmeshPointBehind

GetNearestNavmeshPointBehind

GetNearestNavmeshPointBelow

HasPathForward

HasPathFromAtoB

IsOnGround

IsPointOnNavmesh

IsPointOnNavmesh

IsPointOnNavmesh

RemoveObstacle

TryToFindNavmeshPointAroundPoint

Last updated