Skip to content
lsl.devlsl.devLSL Dev

VEHICLE_LINEAR_MOTOR_OFFSET

constant
Constant
integer VEHICLE_LINEAR_MOTOR_OFFSET = 20;

Constant groups

VehicleVectorParam

Other VehicleVectorParam values (4)

Used with llSetVehicleVectorParam to set the offset for where the linear motor is to be applied from the vehicle’s center of mass.

If the vehicle does not set the VEHICLE_LINEAR_MOTOR_OFFSET, then it defaults to <0.0, 0.0, 0.0>.

This could be useful in vehicles where the source of thrust is important, such as a rocket or an air ship. Most vehicles do not need to change this value from the default.

In rockets using this offset gives that very distinctive spiraling out of control.

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.