#include "WheeledVehicleMovementComponentNW.h"
#include "PhysicsPublic.h"
#include "PhysXPublic.h"
#include "PhysXVehicleManager.h"
#include "Components/PrimitiveComponent.h"
#include "Logging/MessageLog.h"
Go to the source code of this file.
Functions | |
void | BackwardsConvertCm2ToM2NW (float &val, float defaultValue) |
static void | GetVehicleAutoBoxSetup (const FVehicleNWTransmissionData &Setup, PxVehicleAutoBoxData &PxSetup) |
static void | GetVehicleDifferentialNWSetup (const TArray< FVehicleNWWheelDifferentialData > &Setup, PxVehicleDifferentialNWData &PxSetup) |
static void | GetVehicleEngineSetup (const FVehicleNWEngineData &Setup, PxVehicleEngineData &PxSetup) |
static void | GetVehicleGearSetup (const FVehicleNWTransmissionData &Setup, PxVehicleGearsData &PxSetup) |
void | SetupDriveHelper (const UWheeledVehicleMovementComponentNW *VehicleData, const PxVehicleWheelsSimData *PWheelsSimData, PxVehicleDriveSimDataNW &DriveData) |
void BackwardsConvertCm2ToM2NW | ( | float & | val, |
float | defaultValue | ||
) |
Definition at line 354 of file WheeledVehicleMovementComponentNW.cpp.
|
static |
Definition at line 160 of file WheeledVehicleMovementComponentNW.cpp.
References FVehicleNWGearData::DownRatio, FVehicleNWTransmissionData::ForwardGears, FVehicleNWTransmissionData::GearAutoBoxLatency, FVehicleNWTransmissionData::NeutralGearUpRatio, and FVehicleNWGearData::UpRatio.
Referenced by SetupDriveHelper().
|
static |
Definition at line 105 of file WheeledVehicleMovementComponentNW.cpp.
Referenced by SetupDriveHelper().
|
static |
Definition at line 126 of file WheeledVehicleMovementComponentNW.cpp.
References FVehicleNWEngineData::DampingRateFullThrottle, FVehicleNWEngineData::DampingRateZeroThrottleClutchDisengaged, FVehicleNWEngineData::DampingRateZeroThrottleClutchEngaged, FVehicleNWEngineData::FindPeakTorque(), FVehicleNWEngineData::MaxRPM, FVehicleNWEngineData::MOI, and FVehicleNWEngineData::TorqueCurve.
Referenced by SetupDriveHelper().
|
static |
Definition at line 148 of file WheeledVehicleMovementComponentNW.cpp.
References FVehicleNWTransmissionData::FinalRatio, FVehicleNWTransmissionData::ForwardGears, FVehicleNWTransmissionData::GearSwitchTime, and FVehicleNWTransmissionData::ReverseGearRatio.
Referenced by SetupDriveHelper().
void SetupDriveHelper | ( | const UWheeledVehicleMovementComponentNW * | VehicleData, |
const PxVehicleWheelsSimData * | PWheelsSimData, | ||
PxVehicleDriveSimDataNW & | DriveData | ||
) |
Definition at line 178 of file WheeledVehicleMovementComponentNW.cpp.
References GetVehicleAutoBoxSetup(), GetVehicleDifferentialNWSetup(), GetVehicleEngineSetup(), and GetVehicleGearSetup().