Skip to content

Class VehicleDesc

Namespace: Apogee.Physics
Assembly: Apogee.Physics.dll

A vehicle: its engine, drivetrain and wheels. Give it to with the entity of a dynamic body.

public sealed class VehicleDesc : EngineObject

Inheritance

object ← EngineObject ← VehicleDesc

Inherited Members

EngineObject.IsAdopted, EngineObject.Handle, EngineObject.IsDestroyed, EngineObject.Class, EngineObject.Adopt(), EngineObject.TryGet(SlotHandle, out EngineObject), EngineObject.Destroy(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Class

What the registry knows about this object's class.

public override ClassInfo Class { get; }

Property Value

ClassInfo

ClutchSlipRpm

How many rpm the clutch slips at full engine torque: lower is a stiffer clutch.

public float ClutchSlipRpm { get; set; }

Property Value

float

DifferentialRatio

The final drive: engine revs per wheel rev, before the gear the game drives through.

public float DifferentialRatio { get; set; }

Property Value

float

Drive

public DriveKind Drive { get; set; }

Property Value

DriveKind

EngineInertia

The engine's flywheel inertia in kg·m².

public float EngineInertia { get; set; }

Property Value

float

EngineMaxRpm

public float EngineMaxRpm { get; set; }

Property Value

float

EngineMaxTorque

Torque at the best rev, in N·m.

public float EngineMaxTorque { get; set; }

Property Value

float

EngineMinRpm

public float EngineMinRpm { get; set; }

Property Value

float

EngineTorqueCurve

The torque at each rev as a share of the maximum, sampled evenly from 0 to the maximum rpm (at least two values); empty is the same torque at every rev.

public float[] EngineTorqueCurve { get; set; }

Property Value

float[]

MaxPitchRollAngle

The vehicle's body is helped upright beyond this pitch or roll, in degrees.

public float MaxPitchRollAngle { get; set; }

Property Value

float

TrackBrakeTorque

Brake torque of a track's sprocket (tracked vehicles).

public float TrackBrakeTorque { get; set; }

Property Value

float

Wheels

public WheelDesc[] Wheels { get; set; }

Property Value

WheelDesc[]