Skip to content
lsl.devlsl.devLSL Dev

Constants in the VehicleType enum.

All constant groups

At a glance, from the LSL definitions
integer VEHICLE_TYPE_AIRPLANE = 4;  // Vehicle type constant for aircraft that use linear deflection for lift, banking to turn, and no hover.integer VEHICLE_TYPE_BALLOON = 5;  // Vehicle type constant for balloons that use hover and friction but no deflection.integer VEHICLE_TYPE_BOAT = 3;  // Vehicle type constant for boats that hover over water with high friction and minor angular deflection.integer VEHICLE_TYPE_CAR = 2;  // Vehicle type constant for land vehicles that bounce along the ground and rely on external controls or timer events to drive their motors.integer VEHICLE_TYPE_NONE = 0;  // Constant used to disable and turn off vehicle physics support on the object.integer VEHICLE_TYPE_SLED = 1;  // Vehicle type constant for sliding vehicles that bump along the ground and prefer to move along their local X-axis.

Constants

ConstantTypeValueDescription
VEHICLE_TYPE_AIRPLANEinteger4Vehicle type constant for aircraft that use linear deflection for lift, banking to turn, and no hover.
VEHICLE_TYPE_BALLOONinteger5Vehicle type constant for balloons that use hover and friction but no deflection.
VEHICLE_TYPE_BOATinteger3Vehicle type constant for boats that hover over water with high friction and minor angular deflection.
VEHICLE_TYPE_CARinteger2Vehicle type constant for land vehicles that bounce along the ground and rely on external controls or timer events to drive their motors.
VEHICLE_TYPE_NONEinteger0Constant used to disable and turn off vehicle physics support on the object.
VEHICLE_TYPE_SLEDinteger1Vehicle type constant for sliding vehicles that bump along the ground and prefer to move along their local X-axis.

Used by