# VEHICLE_LINEAR_MOTOR_OFFSET

*LSL constant*

```lsl
integer VEHICLE_LINEAR_MOTOR_OFFSET = 20;
```

Constant groups: [VehicleVectorParam](/constants/groups/VehicleVectorParam/)

Used with [llSetVehicleVectorParam](/functions/llSetVehicleVectorParam/) to set the offset for where the linear motor is to be applied from the vehicle's [center of mass](/functions/llGetCenterOfMass/).

If the vehicle does not set the `VEHICLE_LINEAR_MOTOR_OFFSET`, then it defaults to [&lt;0.0, 0.0, 0.0>](/constants/ZERO_VECTOR/).

## Notes

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.

## See also

### Functions

- [llSetVehicleVectorParam](/functions/llSetVehicleVectorParam/)

### Articles

- [Linden Vehicle Tutorial](https://wiki.secondlife.com/wiki/Linden_Vehicle_Tutorial)

---

*Source: [VEHICLE LINEAR MOTOR OFFSET](https://wiki.secondlife.com/wiki/VEHICLE_LINEAR_MOTOR_OFFSET) on the Second Life Wiki. Content from the Second Life Wiki article VEHICLE LINEAR MOTOR OFFSET (revision 400303, 2009-06-21), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/VEHICLE_LINEAR_MOTOR_OFFSET/
