Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
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.
| Name | FMotorSimModule |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/MotorModule.h |
| Include Path | #include "SimModule/MotorModule.h" |
Syntax
class FMotorSimModule :
public Chaos::FTorqueSimModule ,
public Chaos::TSimModuleSettings< FMotorSettings > ,
public Chaos::TSimulationModuleTypeable< FMotorSimModule >
Inheritance Hierarchy
- TSimulationModuleTypeable → FTorqueSimModule → FMotorSimModule
- TSimModuleSettings → FMotorSimModule
- TSimulationModuleTypeable → FMotorSimModule
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMotorSimModule
(
const FMotorSettings& Settings |
SimModule/MotorModule.h |
Functions
Public
Overridden from ISimulationModuleBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FString GetDebugName() |
Get the friendly name for this module, primarily for logging & debugging module tree | SimModule/MotorModule.h | |
virtual void Simulate
(
float DeltaTime, |
The main Simulation function that is called from the physics async callback thread | SimModule/MotorModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName CHAOSTYPENAMERETRIVAL() |
SimModule/MotorModule.h |