Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore > API/Runtime/ChaosVehiclesCore/SimModule
Inheritance Hierarchy
- ISimulationModuleBase
- TSimModuleSettings
- FSuspensionSimModule
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/SuspensionModule.h |
| Include | #include "SimModule/SuspensionModule.h" |
Syntax
class FSuspensionSimModule :
public Chaos::ISimulationModuleBase,
public Chaos::TSimModuleSettings< FSuspensionSettings >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSuspensionSimModule
(
const FSuspensionSettings& Settings |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FVector | GetLocation () |
||
| const FVector & | |||
| float | |||
| int | |||
| void | GetWorldRaycastLocation
(
const FTransform& BodyTransform, |
||
| void | SetLocation
(
const FVector& LocationIn |
||
| void | SetSpringLength
(
float InLength, |
||
| void | SetWheelSimTreeIndex
(
int WheelTreeIndexIn |
Overridden from ISimulationModuleBase
| Type | Name | Description | |
|---|---|---|---|
| const FString | GetDebugName () |
Get the friendly name for this module, primarily for logging & debugging module tree | |
| eSimType | GetSimType () |
The specific simulation type | |
| bool | IsBehaviourType
(
eSimModuleTypeFlags InType |
Is Module of a specific behavioral data type | |
| void | Simulate
(
float DeltaTime, |
The main Simulation function that is called from the physics async callback thread |