Space Engineers
|
A gateway to all the pathfinding tasks and queries More...
Public Member Functions | |
IMyPath | FindPathGlobal (Vector3D begin, IMyDestinationShape end, MyEntity relativeEntity) |
Finds a path from the world-space point begin to the given destination shape. More... | |
bool | ReachableUnderThreshold (Vector3D begin, IMyDestinationShape end, float thresholdDistance) |
Checks, whether the given destination is reachable, but stops the search after some threshold distance. More... | |
IMyPathfindingLog | GetPathfindingLog () |
For BW compatibility only. You most certainly don't need to implement this! More... | |
void | Update () |
Recieves periodic updates from the game loop More... | |
void | UnloadData () |
Gets called when the MyAIComponent is unloaded More... | |
void | DebugDraw () |
All the debug draw code should go here More... | |
A gateway to all the pathfinding tasks and queries
Definition at line 15 of file IMyPathfinding.cs.
void Sandbox.Game.AI.Pathfinding.IMyPathfinding.DebugDraw | ( | ) |
All the debug draw code should go here
Implemented in Sandbox.Game.AI.Pathfinding.MyPathfinding, Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, and Sandbox.Game.AI.Pathfinding.MyRDPathfinding.
IMyPath Sandbox.Game.AI.Pathfinding.IMyPathfinding.FindPathGlobal | ( | Vector3D | begin, |
IMyDestinationShape | end, | ||
MyEntity | relativeEntity | ||
) |
Finds a path from the world-space point begin to the given destination shape.
begin | From where to do the pathfinding |
end | The destination shape for this pathfinding query |
relativeEntity | If not null, the begin parameter is not in world space, but in local space relative to this entity |
Implemented in Sandbox.Game.AI.Pathfinding.MyPathfinding, Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, and Sandbox.Game.AI.Pathfinding.MyRDPathfinding.
IMyPathfindingLog Sandbox.Game.AI.Pathfinding.IMyPathfinding.GetPathfindingLog | ( | ) |
For BW compatibility only. You most certainly don't need to implement this!
Implemented in Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, Sandbox.Game.AI.Pathfinding.MyRDPathfinding, and Sandbox.Game.AI.Pathfinding.MyPathfinding.
bool Sandbox.Game.AI.Pathfinding.IMyPathfinding.ReachableUnderThreshold | ( | Vector3D | begin, |
IMyDestinationShape | end, | ||
float | thresholdDistance | ||
) |
Checks, whether the given destination is reachable, but stops the search after some threshold distance.
begin | Where to start the search from |
end | The destination for the reachability query |
thresholdDistance | The distance after which the query should stop |
Implemented in Sandbox.Game.AI.Pathfinding.MyPathfinding, Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, and Sandbox.Game.AI.Pathfinding.MyRDPathfinding.
void Sandbox.Game.AI.Pathfinding.IMyPathfinding.UnloadData | ( | ) |
Gets called when the MyAIComponent is unloaded
Implemented in Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, Sandbox.Game.AI.Pathfinding.MyRDPathfinding, and Sandbox.Game.AI.Pathfinding.MyPathfinding.
void Sandbox.Game.AI.Pathfinding.IMyPathfinding.Update | ( | ) |
Recieves periodic updates from the game loop
Implemented in Sandbox.Game.AI.Pathfinding.MyExternalPathfinding, Sandbox.Game.AI.Pathfinding.MyRDPathfinding, and Sandbox.Game.AI.Pathfinding.MyPathfinding.