CryEngine.VehicleStatus

CryEngine.VehicleStatus

Inherits CryEngine.BasePhysicsStatus< pe_status_vehicle >.

Properties

float SteeringAngle [get]
Current steering angle More...
float Pedal [get]
Current engine pedal More...
bool IsHandbrakeOn [get]
True if handbrake is on, false otherwise More...
float FootBrake [get]
Nonzero if footbrake is pressed (range 0..1) More...
Vector3 Velocity [get]
The current velocity of the vehicle More...
bool WheelContact [get]
True if at least one wheel touches ground. False if all wheels are not touching the ground. More...
int CurrentGear [get]
The current gear of the vehicle. More...
float EngineRPM [get]
The rounds per minute of the vehicle's engine. More...
float Clutch [get]
Current engine's clutch More...
float DrivingTorque [get]
The torque of the vehicle More...
int ActiveColliderContacts [get]
Number of non-static contacting entities More...

Property Documentation

◆ ActiveColliderContacts

int CryEngine.VehicleStatus.ActiveColliderContacts
get

Number of non-static contacting entities

◆ Clutch

float CryEngine.VehicleStatus.Clutch
get

Current engine's clutch

◆ CurrentGear

int CryEngine.VehicleStatus.CurrentGear
get

The current gear of the vehicle.

◆ DrivingTorque

float CryEngine.VehicleStatus.DrivingTorque
get

The torque of the vehicle

◆ EngineRPM

float CryEngine.VehicleStatus.EngineRPM
get

The rounds per minute of the vehicle's engine.

◆ FootBrake

float CryEngine.VehicleStatus.FootBrake
get

Nonzero if footbrake is pressed (range 0..1)

◆ IsHandbrakeOn

bool CryEngine.VehicleStatus.IsHandbrakeOn
get

True if handbrake is on, false otherwise

◆ Pedal

float CryEngine.VehicleStatus.Pedal
get

Current engine pedal

◆ SteeringAngle

float CryEngine.VehicleStatus.SteeringAngle
get

Current steering angle

◆ Velocity

Vector3 CryEngine.VehicleStatus.Velocity
get

The current velocity of the vehicle

◆ WheelContact

bool CryEngine.VehicleStatus.WheelContact
get

True if at least one wheel touches ground. False if all wheels are not touching the ground.