Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine > API/Plugins/ChaosModularVehicleEngine/ChaosModularVehicle
References
| Module | ChaosModularVehicleEngine |
| Header | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/ModularVehicleSimulationCU.h |
| Include | #include "ChaosModularVehicle/ModularVehicleSimulationCU.h" |
Syntax
class FModularVehicleSimulationCU
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUsingNetworkPhysicsPrediction | ||
| FRWLock | InputConfigurationLock | ||
| FInputNameMap | InputNameMap | ||
| int8 | NetMode | ||
| Chaos::FAllInputs | SimInputData | ||
| TUniquePtr< Chaos::FSimModuleTree > | SimModuleTree | ||
| FModularVehicleInputs | VehicleInputs | Current control inputs that is being used on the PT |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FModularVehicleSimulationCU
(
bool InUsingNetworkPhysicsPrediction, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< Chaos::FSimModuleTree > & | |||
| void | ApplyDeferredForces
(
FGeometryCollectionPhysicsProxy* RigidHandle |
ApplyDeferredForces should be called after the ParallelUpdatePT to send the calculated forces to the physics thread serially as this cannot be done in parallel | |
| void | |||
| void | FillOutputState
(
FModularVehicleAsyncOutput& Output |
||
| const TUniquePtr< Chaos::FSimModuleTree > & | |||
| void | Initialize
(
TUniquePtr< Chaos::FSimModuleTree >& InSimModuleTree |
||
| void | OnContactModification
(
Chaos::FCollisionContactModifier& Modifier, |
||
| void | PerformAdditionalSimWork
(
UWorld* InWorld, |
||
| void | SetInputMappings
(
const FInputNameMap& InNameMap |
||
| void | Simulate
(
UWorld* InWorld, |
Update called from Physics Thread | |
| void | Simulate_ClusterUnion
(
UWorld* InWorld, |
||
| void | Terminate () |
Typedefs
| Name | Description |
|---|---|
| FInputNameMap |