Skip to content
lsl.devlsl.devLSL Dev

Constants in the VehicleFlag flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer VEHICLE_FLAG_BLOCK_INTERFERENCE = 0x400;  // Vehicle flag that prevents attachments worn by passengers from pushing the vehicle via llPushObject or other scripting functions.integer VEHICLE_FLAG_CAMERA_DECOUPLED = 0x200;  // Vehicle flag used with mouselook steering/banking.integer VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 0x10;  // Vehicle flag that forces the hover behavior to maintain a global height rather than hovering relative to the ground or water.integer VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 0x8;  // Vehicle flag that forces the hover behavior to ignore water height and hover exclusively relative to the terrain/land.integer VEHICLE_FLAG_HOVER_UP_ONLY = 0x20;  // Vehicle flag preventing hover from pushing downward, allowing hovering vehicles to jump or fly above their designated hover height.integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x4;  // Vehicle flag that forces the hover behavior to ignore terrain height and hover exclusively relative to water.integer VEHICLE_FLAG_LIMIT_MOTOR_UP = 0x40;  // Vehicle flag that prevents ground vehicles from motoring upward into the sky.integer VEHICLE_FLAG_LIMIT_ROLL_ONLY = 0x2;  // Vehicle flag for vehicles with a vertical attractor that need to climb or dive, allowing airplanes to use the banking feature.integer VEHICLE_FLAG_MOUSELOOK_BANK = 0x100;  // Vehicle flag that enables mouselook control, remapping left-right camera motions (yaw) to rotations about the vehicle's local X-axis.integer VEHICLE_FLAG_MOUSELOOK_STEER = 0x80;  // Vehicle flag that enables steering via mouse, directing the angular motor to align the vehicle's local X-axis with the direction of the client-side camera.integer VEHICLE_FLAG_NO_DEFLECTION_UP = 0x1;  // Vehicle flag that prevents linear deflection parallel to the world Z-axis, preventing ground vehicles (such as bumper cars) from climbing into the sky.

Constants

ConstantTypeValueDescription
VEHICLE_FLAG_BLOCK_INTERFERENCEinteger0x400Vehicle flag that prevents attachments worn by passengers from pushing the vehicle via llPushObject or other scripting functions.
VEHICLE_FLAG_CAMERA_DECOUPLEDinteger0x200Vehicle flag used with mouselook steering/banking. When set, the passenger's mouselook camera rotates independently of the vehicle's orientation.
VEHICLE_FLAG_HOVER_GLOBAL_HEIGHTinteger0x10Vehicle flag that forces the hover behavior to maintain a global height rather than hovering relative to the ground or water.
VEHICLE_FLAG_HOVER_TERRAIN_ONLYinteger0x8Vehicle flag that forces the hover behavior to ignore water height and hover exclusively relative to the terrain/land.
VEHICLE_FLAG_HOVER_UP_ONLYinteger0x20Vehicle flag preventing hover from pushing downward, allowing hovering vehicles to jump or fly above their designated hover height.
VEHICLE_FLAG_HOVER_WATER_ONLYinteger0x4Vehicle flag that forces the hover behavior to ignore terrain height and hover exclusively relative to water.
VEHICLE_FLAG_LIMIT_MOTOR_UPinteger0x40Vehicle flag that prevents ground vehicles from motoring upward into the sky. When combined with banking, banking strength decays when the vehicle is airborne (no longer colliding) to prevent steering mid-jump.
VEHICLE_FLAG_LIMIT_ROLL_ONLYinteger0x2Vehicle flag for vehicles with a vertical attractor that need to climb or dive, allowing airplanes to use the banking feature.
VEHICLE_FLAG_MOUSELOOK_BANKinteger0x100Vehicle flag that enables mouselook control, remapping left-right camera motions (yaw) to rotations about the vehicle's local X-axis.
VEHICLE_FLAG_MOUSELOOK_STEERinteger0x80Vehicle flag that enables steering via mouse, directing the angular motor to align the vehicle's local X-axis with the direction of the client-side camera.
VEHICLE_FLAG_NO_DEFLECTION_UPinteger0x1Vehicle flag that prevents linear deflection parallel to the world Z-axis, preventing ground vehicles (such as bumper cars) from climbing into the sky.

Used by