Navigation
API > API/Plugins > API/Plugins/ChaosModularVehicleEngine > API/Plugins/ChaosModularVehicleEngine/ChaosModularVehicle
Inheritance Hierarchy
- FSuspensionBaseInterface
- TSimModuleSettings
- TSimulationModuleTypeable
- FSuspensionSimModule
References
| Module | ChaosModularVehicleEngine |
| Header | /Engine/Plugins/Experimental/ChaosModularVehicle/Source/ChaosModularVehicleEngine/Public/ChaosModularVehicle/SuspensionSimModule.h |
| Include | #include "ChaosModularVehicle/SuspensionSimModule.h" |
Syntax
class FSuspensionSimModule :
public Chaos::FSuspensionBaseInterface ,
public Chaos::TSimModuleSettings< FSuspensionSettings > ,
public Chaos::TSimulationModuleTypeable< FSuspensionSimModule >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSuspensionSimModule
(
const FSuspensionSettings& Settings |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | |||
| void | CreateConstraint
(
Chaos::FClusterUnionPhysicsProxy* Proxy |
||
| void | |||
| const FVector & | |||
| void |
Overridden from FSuspensionBaseInterface
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| float | |||
| void | GetWorldRaycastLocation
(
const FTransform& BodyTransform, |
||
| void | SetSpringLength
(
float InLength, |
Overridden from ISimulationModuleBase
| Type | Name | Description | |
|---|---|---|---|
| void | Animate
(
Chaos::FClusterUnionPhysicsProxy* Proxy |
Animate/modify the childToParent transforms, to say rotate a wheel, or rudder, etc | |
| TSharedPtr< Chaos::FModuleNetData > | GenerateNetData
(
const int32 SimArrayIndex |
This is the replication datas | |
| Chaos::FSimOutputData * | |||
| const FString | GetDebugName () |
Get the friendly name for this module, primarily for logging & debugging module tree | |
| void | Any post construction initialisation - called from Game Thread | ||
| void | Any cleaning up required - called from game thread | ||
| void | Simulate
(
float DeltaTime, |
The main Simulation function that is called from the physics async callback thread |