|
| 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.
|
| |
| proto external AIAgent | GetAIAgent () |
| |
◆ 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
-
| position | The position. |
| searchHalfExtents | Extents of the half to create aabb around center point. |
| correctedPosition | The corrected position. |
- Returns
- true if it succeeds, false if it fails in which case correctedPosition is not touched at all.
◆ 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:
- Game/generated/AI/AIPathfindingComponent.c