Click or drag to resize

Vehicle Type

VehicleManual / Addons / Vehicle / Vehicle TypeVehicle

Vehicle Type

A definition of the Vehicle type. The vehicle is customizable by using this component, it includes:

  • Component of 3D model.
  • Vehicle Input Processing adds the ability to control the vehicle by the player.
  • Vehicle AI for vehicle control by software. It can be used to control the vehicle using commands and to create bots.
  • Turret to add turrets with guns.
Properties
Name Description
Mesh The main mesh of the vehicle.
Chassis The type of chassis.
Front Wheel Position The position offset for front wheels.
Front Wheel Diameter The diameter of a front wheel.
Front Wheel Width The width of a front wheel.
Front Wheel Mass The mass of a front wheel.
Front Wheel Mesh The mesh of a front wheel.
Front Wheel Anti Roll Bar Stiffness Stiffness (spring constant in N/m) of front wheel anti rollbar. Can be 0 to disable the anti-rollbar.
Front Wheel Max Brake Torque How much torque (Nm) the brakes can apply to front wheel.
Front Wheel Max Hand Brake Torque How much torque (Nm) the hand brake can apply to front wheel.
Front Wheel Angular Damping Angular damping factor of the wheel: dw/dt = -c * w.
Front Wheel Longitudinal Friction v_longitudinal|.
Front Wheel Lateral Friction Friction in sideway direction of tire as a function of the slip angle (degrees): angle between relative contact velocity and vehicle direction.
Front Wheel Max Steering Angle The maximal steering angle of front wheels.
Front Wheel Differential Ratio Ratio between rotation speed of gear box and wheels.
Front Wheel Differential Left Right Split Defines how the engine torque is split across the left and right wheel (0 = left, 0.5 = center, 1 = right).
Front Wheel Differential Limited Slip Ratio Ratio max / min wheel speed. When this ratio is exceeded, all torque gets distributed to the slowest moving wheel. This allows implementing a limited slip differential. Set to FLT_MAX (3.402823466e+38F) for an open differential. Value should be > 1.
Front Wheel Differential Engine Torque Ratio How much of the engines torque is applied to this differential (0 = none, 1 = full).
Rear Wheel Position The position offset for rear wheels.
Rear Wheel Diameter The diameter of a rear wheel.
Rear Wheel Width The width of a rear wheel.
Rear Wheel Mass The mass of a rear wheel.
Rear Wheel Mesh The mesh of a rear wheel.
Rear Wheel Anti Roll Bar Stiffness Stiffness (spring constant in N/m) of rear wheel anti rollbar. Can be 0 to disable the anti-rollbar.
Rear Wheel Max Brake Torque How much torque (Nm) the brakes can apply to rear wheel.
Rear Wheel Max Hand Brake Torque How much torque (Nm) the hand brake can apply to rear wheel.
Rear Wheel Angular Damping Angular damping factor of the wheel: dw/dt = -c * w.
Rear Wheel Longitudinal Friction v_longitudinal|.
Rear Wheel Lateral Friction Friction in sideway direction of tire as a function of the slip angle (degrees): angle between relative contact velocity and vehicle direction.
Rear Wheel Max Steering Angle The maximal steering angle of rear wheels.
Rear Wheel Differential Ratio Ratio between rotation speed of gear box and wheels.
Rear Wheel Differential Left Right Split Defines how the engine torque is split across the left and right wheel (0 = left, 0.5 = center, 1 = right).
Rear Wheel Differential Limited Slip Ratio Ratio max / min wheel speed. When this ratio is exceeded, all torque gets distributed to the slowest moving wheel. This allows implementing a limited slip differential. Set to FLT_MAX (3.402823466e+38F) for an open differential. Value should be > 1.
Rear Wheel Differential Engine Torque Ratio How much of the engines torque is applied to this differential (0 = none, 1 = full).
Transmission Auto How to switch gears.
Transmission Gear Ratios Ratio in rotation rate between engine and gear box, first element is 1st gear, 2nd element 2nd gear etc.
Transmission Reverse Gear Ratios Ratio in rotation rate between engine and gear box when driving in reverse.
Transmission Switch Time How long it takes to switch gears (s), only used in auto mode.
Transmission Clutch Release Time How long it takes to release the clutch (go to full friction), only used in auto mode.
Transmission Switch Latency How long to wait after releasing the clutch before another switch is attempted (s), only used in auto mode.
Transmission Shift Up RPM If RPM of engine is bigger then this we will shift a gear up, only used in auto mode.
Transmission Shift Down RPM If RPM of engine is smaller then this we will shift a gear down, only used in auto mode.
Transmission Clutch Strength Strength of the clutch when fully engaged. Total torque a clutch applies is Torque = ClutchStrength * (Velocity Engine - Avg Velocity Wheels) (units: k m^2 s^-1).
Max Slope Angle Max angle that is considered for colliding wheels. This is to avoid colliding with vertical walls.
Max Pitch Roll Angle Defines the maximum pitch/roll angle, can be used to avoid the car from getting upside down. The vehicle up direction will stay within a cone centered around the up axis with half top angle MaxPitchRollAngle, set to 180 to turn off.
See also
VehicleVehicle