Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore > API/Runtime/ChaosVehiclesCore/SimModule
Inheritance Hierarchy
- FTorqueSimModule
- TSimModuleSettings
- TSimulationModuleTypeable
- FMotorSimModule
References
| Module | ChaosVehiclesCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/MotorModule.h |
| Include | #include "SimModule/MotorModule.h" |
Syntax
class FMotorSimModule :
public Chaos::FTorqueSimModule ,
public Chaos::TSimModuleSettings< FMotorSettings > ,
public Chaos::TSimulationModuleTypeable< FMotorSimModule >
Remarks
A vehicle component that provides torque output based on a torque control input The output torque is based on a square function style curve, zero at 0.0 and MaxRPM, and 1.0 at mid RPM.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMotorSimModule
(
const FMotorSettings& Settings |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName |
Overridden from ISimulationModuleBase
| Type | Name | Description | |
|---|---|---|---|
| const FString | GetDebugName () |
Get the friendly name for this module, primarily for logging & debugging module tree | |
| void | Simulate
(
float DeltaTime, |
The main Simulation function that is called from the physics async callback thread |