CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FVehicleNWEngineData Struct Reference

#include <WheeledVehicleMovementComponentNW.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 31 of file WheeledVehicleMovementComponentNW.h.

Member Function Documentation

◆ FindPeakTorque()

float FVehicleNWEngineData::FindPeakTorque ( ) const

Find the peak torque produced by the TorqueCurve.

Definition at line 112 of file WheeledVehicleMovementComponentNW.cpp.

References TorqueCurve.

Member Data Documentation

◆ DampingRateFullThrottle

float FVehicleNWEngineData::DampingRateFullThrottle = 0.0F

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

Definition at line 49 of file WheeledVehicleMovementComponentNW.h.

◆ DampingRateZeroThrottleClutchDisengaged

float FVehicleNWEngineData::DampingRateZeroThrottleClutchDisengaged = 0.0F

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

Definition at line 57 of file WheeledVehicleMovementComponentNW.h.

◆ DampingRateZeroThrottleClutchEngaged

float FVehicleNWEngineData::DampingRateZeroThrottleClutchEngaged = 0.0F

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

Definition at line 53 of file WheeledVehicleMovementComponentNW.h.

◆ MaxRPM

float FVehicleNWEngineData::MaxRPM = 0.0F

Maximum revolutions per minute of the engine.

Definition at line 41 of file WheeledVehicleMovementComponentNW.h.

◆ MOI

float FVehicleNWEngineData::MOI = 0.0F

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

Definition at line 45 of file WheeledVehicleMovementComponentNW.h.

◆ TorqueCurve

FRuntimeFloatCurve FVehicleNWEngineData::TorqueCurve

Torque (Nm) at a given RPM.

Definition at line 37 of file WheeledVehicleMovementComponentNW.h.

Referenced by FindPeakTorque().


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