Click or drag to resize

Vehicle Type

VehicleManual / Addons / Vehicle / Vehicle TypeVehicle Type Wheel

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.
  • Light to add lights.

For example, you can use default vehicle "Assets\Content\Vehicles\Default\Default Vehicle.vehicletype".

Properties
Name Description
Mesh The main mesh of the vehicle.
Chassis The type of chassis.
Differential Limited Slip Ratio Ratio max / min average wheel speed of each differential (measured at the clutch). When the ratio is exceeded all torque gets distributed to the differential with the minimal average velocity. This allows implementing a limited slip differential between differentials. Set to FLT_MAX for an open differential. Value should be > 1.
Track Driven Wheel Which wheel on the track is connected to the engine.
Track Inertia Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel.
Track Angular Damping Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel
Track Max Brake Torque How much torque (Nm) the brakes can apply on the driven wheel.
Track Differential Ratio Ratio between rotation speed of gear box and driven wheel of track.
Track Fragment Mesh Mesh of the track.
Track Fragment Length Length of the track piece.
Engine Max Torque Max amount of torque (Nm) that the engine can deliver.
Engine Min RPM Min amount of revolutions per minute (rpm) the engine can produce without stalling.
Engine Max RPM Max amount of revolutions per minute (rpm) the engine can generate.
Engine Normalized Torque Curve that describes a ratio of the max torque the engine can produce vs the fraction of the max RPM of the engine.
Engine Inertia Moment of inertia (kg m^2) of the engine.
Engine Angular Damping Angular damping factor of the wheel: dw/dt = -c * w.
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.
Editor Display Wheels Whether to display the debug visualization of the wheels.
Editor Display Seats Whether to display the debug visualization of the seats.
Editor Display Lights Whether to display the debug visualization of the lights.
Editor Display Physics Whether to display the debug visualization of the physics.
See also
VehicleVehicle Type Wheel