CARLA
Public Member Functions | Public Attributes | List of all members
FVehicleNWEngineData Struct Reference

#include <WheeledVehicleMovementComponentNW.h>

+ Collaboration diagram for FVehicleNWEngineData:

Public Member Functions

float FindPeakTorque () const
 Find the peak torque produced by the TorqueCurve. More...
 

Public Attributes

float DampingRateFullThrottle
 Damping rate of engine when full throttle is applied (Kgm^2/s) More...
 
float DampingRateZeroThrottleClutchDisengaged
 Damping rate of engine in at zero throttle when the clutch is disengaged (in neutral gear) (Kgm^2/s) More...
 
float DampingRateZeroThrottleClutchEngaged
 Damping rate of engine in at zero throttle when the clutch is engaged (Kgm^2/s) More...
 
float MaxRPM
 Maximum revolutions per minute of the engine. More...
 
float MOI
 Moment of inertia of the engine around the axis of rotation (Kgm^2). More...
 
FRuntimeFloatCurve TorqueCurve
 Torque (Nm) at a given RPM. More...
 

Detailed Description

Definition at line 32 of file WheeledVehicleMovementComponentNW.h.

Member Function Documentation

◆ FindPeakTorque()

float FVehicleNWEngineData::FindPeakTorque ( ) const

Find the peak torque produced by the TorqueCurve.

Definition at line 113 of file WheeledVehicleMovementComponentNW.cpp.

Referenced by GetVehicleEngineSetup().

+ Here is the caller graph for this function:

Member Data Documentation

◆ DampingRateFullThrottle

float FVehicleNWEngineData::DampingRateFullThrottle

Damping rate of engine when full throttle is applied (Kgm^2/s)

Definition at line 50 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().

◆ DampingRateZeroThrottleClutchDisengaged

float FVehicleNWEngineData::DampingRateZeroThrottleClutchDisengaged

Damping rate of engine in at zero throttle when the clutch is disengaged (in neutral gear) (Kgm^2/s)

Definition at line 58 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().

◆ DampingRateZeroThrottleClutchEngaged

float FVehicleNWEngineData::DampingRateZeroThrottleClutchEngaged

Damping rate of engine in at zero throttle when the clutch is engaged (Kgm^2/s)

Definition at line 54 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().

◆ MaxRPM

float FVehicleNWEngineData::MaxRPM

Maximum revolutions per minute of the engine.

Definition at line 42 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().

◆ MOI

float FVehicleNWEngineData::MOI

Moment of inertia of the engine around the axis of rotation (Kgm^2).

Definition at line 46 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().

◆ TorqueCurve

FRuntimeFloatCurve FVehicleNWEngineData::TorqueCurve

Torque (Nm) at a given RPM.

Definition at line 38 of file WheeledVehicleMovementComponentNW.h.

Referenced by GetVehicleEngineSetup().


The documentation for this struct was generated from the following files: