# VEHICLE_LINEAR_MOTOR_DIRECTION

*LSL constant*

```lsl
integer VEHICLE_LINEAR_MOTOR_DIRECTION = 18;
```

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

Vector of linear velocity (in meters/second) that the vehicle will try to achieve.

May conflict with any active [llTargetOmega](/functions/llTargetOmega/) set in the root prim and prevent vehicle turns. Call [llTargetOmega](/functions/llTargetOmega/) with a gain of 0 to disable it.

## Caveats

- [VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE](/constants/VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE/) magnitude is capped at 30.0

## See also

### Functions

- [llSetVehicleVectorParam](/functions/llSetVehicleVectorParam/)

### Articles

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

---

*Source: [VEHICLE LINEAR MOTOR DIRECTION](https://wiki.secondlife.com/wiki/VEHICLE_LINEAR_MOTOR_DIRECTION) on the Second Life Wiki. Content from the Second Life Wiki article VEHICLE LINEAR MOTOR DIRECTION (revision 1132153, 2011-01-16), CC BY-SA 3.0.*

---

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