Navigation
API > API/Plugins > API/Plugins/ChaosVehicles
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleManager.h |
| Include | #include "ChaosVehicleManager.h" |
Syntax
class FChaosVehicleManager
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChaosVehicleManager
(
FPhysScene* PhysScene |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddVehicle
(
TWeakObjectPtr< UChaosVehicleMovementComponent > Vehicle |
Register a Physics vehicle for processing | |
| void | DetachFromPhysScene
(
FPhysScene* PhysScene |
Detach this vehicle manager from a FPhysScene (remove delegates, remove from map etc) | |
| FPhysScene_Chaos & | GetScene () |
Get Physics Scene | |
| FChaosVehicleManager * | GetVehicleManagerFromScene
(
FPhysScene* PhysScene |
Find a vehicle manager from an FPhysScene | |
| void | ParallelUpdateVehicles
(
float DeltaSeconds |
||
| void | PostUpdate
(
FChaosScene* PhysScene |
||
| void | |||
| void | RemoveVehicle
(
TWeakObjectPtr< UChaosVehicleMovementComponent > Vehicle |
Unregister a Physics vehicle from processing | |
| void | ScenePreTick
(
FPhysScene* PhysScene, |
Update vehicle tuning and other state such as input | |
| void | |||
| void | Update
(
FPhysScene* PhysScene, |
Constants
| Name | Description |
|---|---|
| GInitialized | |
| OnPostWorldInitializationHandle | |
| OnWorldCleanupHandle | |
| SceneToVehicleManagerMap | Map of physics scenes to corresponding vehicle manager |
| VehicleSetupTag | Updated when vehicles need to recreate their physics state. |