Navigation
API > API/Runtime > API/Runtime/ChaosVehiclesCore
| Name | FTorqueSimModule |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/SimModule/TorqueSimModule.h |
| Include Path | #include "SimModule/TorqueSimModule.h" |
Syntax
class FTorqueSimModule :
public Chaos::ISimulationModuleBase ,
public Chaos::TSimulationModuleTypeable< FTorqueSimModule >
Inheritance Hierarchy
- TSimulationModuleTypeable → FTorqueSimModule
Derived Classes
FTorqueSimModule derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTorqueSimModule() |
SimModule/TorqueSimModule.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FTorqueSimModuleData | friend | SimModule/TorqueSimModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAngularVelocity
(
float AngularVelocityIn |
SimModule/TorqueSimModule.h | ||
float GetAngularPosition() |
SimModule/TorqueSimModule.h | ||
float GetAngularVelocity() |
SimModule/TorqueSimModule.h | ||
float GetBrakingTorque() |
SimModule/TorqueSimModule.h | ||
float GetDriveTorque() |
SimModule/TorqueSimModule.h | ||
float GetLoadTorque() |
SimModule/TorqueSimModule.h | ||
float GetRPM() |
SimModule/TorqueSimModule.h | ||
void IntegrateAngularVelocity
(
float DeltaTime, |
Integrate angular velocity using specified DeltaTime & Inertia value, Note the inertia should be the combined inertia of all the connected pieces otherwise things will rotate at different rates | SimModule/TorqueSimModule.h | |
void SetAngularPosition
(
float AngularPositionIn |
SimModule/TorqueSimModule.h | ||
void SetAngularVelocity
(
float AngularVelocityIn |
SimModule/TorqueSimModule.h | ||
void SetBrakingTorque
(
float TorqueIn |
SimModule/TorqueSimModule.h | ||
void SetDriveTorque
(
float TorqueIn |
SimModule/TorqueSimModule.h | ||
void SetLoadTorque
(
float TorqueIn |
SimModule/TorqueSimModule.h | ||
void SetRPM
(
float InRPM |
SimModule/TorqueSimModule.h | ||
void TransmitTorque
(
const FSimModuleTree& BlockSystem, |
Transmit torque between this module and its Parent and Children. | SimModule/TorqueSimModule.h |
Overridden from ISimulationModuleBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsBehaviourType
(
eSimModuleTypeFlags InType |
Is Module of a specific type - used for casting | SimModule/TorqueSimModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName CHAOSTYPENAMERETRIVAL() |
SimModule/TorqueSimModule.h | ||
static FTorqueSimModule * CastToTorqueInterface
(
ISimulationModuleBase* SimModule |
Cast an ISimulationModuleBase to a FTorqueSimModule if compatible class | SimModule/TorqueSimModule.h |