Interface IMyAiRvoSessionComponent
Describes AI RVO (Collision Avoidance) session component for dynamic grids
Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyAiRvoSessionComponent
Methods
IsCubeGridSimulationComputed(IMyCubeGrid, out Vector3D)
Gets whether the cube grid was simulation is computed
Declaration
bool IsCubeGridSimulationComputed(IMyCubeGrid grid, out Vector3D newVelocity)
Parameters
| Type | Name | Description |
|---|---|---|
| IMyCubeGrid | grid | dynamic grid |
| Vector3D | newVelocity | new computed velocity |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if new velocity is computed |
RequestUpdate(IMyCubeGrid)
Requests Update of the RVO for specific grid.
Declaration
void RequestUpdate(IMyCubeGrid grid)
Parameters
| Type | Name | Description |
|---|---|---|
| IMyCubeGrid | grid | dynamic grid |