Arma Reforger Script API
Loading...
Searching...
No Matches
AIPathfindingComponent Interface Reference
Inheritance diagram for AIPathfindingComponent:
AIComponent ChimeraAIPathfindingComponent

Public Member Functions

proto external bool RayTrace (vector position, vector destination, vector hitPos)
 
proto external void SetAreaCosts (ResourceName config)
 
proto external NavmeshWorldComponent GetNavmeshComponent ()
 Gets NavmeshComponent currently asociated with this Pathfinding.
 
proto external bool GetClosestPositionOnNavmesh (vector position, vector searchHalfExtents, out vector correctedPosition)
 Gets closest position on navmesh from given center when point is expanded using halfExtents to create search axis aligned bounding box.
 
- Public Member Functions inherited from AIComponent
proto external AIAgent GetAIAgent ()
 

Member Function Documentation

◆ GetClosestPositionOnNavmesh()

proto external bool AIPathfindingComponent.GetClosestPositionOnNavmesh ( vector position,
vector searchHalfExtents,
out vector correctedPosition )

Gets closest position on navmesh from given center when point is expanded using halfExtents to create search axis aligned bounding box.

Parameters
positionThe position.
searchHalfExtentsExtents of the half to create aabb around center point.
correctedPositionThe corrected position.
Returns
true if it succeeds, false if it fails in which case correctedPosition is not touched at all.

◆ GetNavmeshComponent()

proto external NavmeshWorldComponent AIPathfindingComponent.GetNavmeshComponent ( )

Gets NavmeshComponent currently asociated with this Pathfinding.

◆ RayTrace()

proto external bool AIPathfindingComponent.RayTrace ( vector position,
vector destination,
vector hitPos )

◆ SetAreaCosts()

proto external void AIPathfindingComponent.SetAreaCosts ( ResourceName config)

The documentation for this interface was generated from the following file: