# llSetVehicleVectorParam

*LSL function*

```lsl
void llSetVehicleVectorParam(integer param, vector vec);
```

- `integer param`: VEHICLE_* vector parameter constant to set.
- `vector vec`: Vector value to set.

- Energy: 10

Sets the specified vehicle vector parameter param to vec.

Sets the vehicle vector parameter **param** to **vec**.

```lsl title="How to use" frame="terminal"
llSetVehicleVectorParam(0, ZERO_VECTOR);
```

## Specification

| Constant |  | Type | Description |
| --- | --- | --- | --- |
| [VEHICLE_ANGULAR_FRICTION_TIMESCALE](/constants/VEHICLE_ANGULAR_FRICTION_TIMESCALE/) | 17 | [vector](https://wiki.secondlife.com/wiki/vector) | vector of timescales for exponential decay of angular velocity about the three vehicle axes |
| [VEHICLE_ANGULAR_MOTOR_DIRECTION](/constants/VEHICLE_ANGULAR_MOTOR_DIRECTION/) | 19 | [vector](https://wiki.secondlife.com/wiki/vector) | angular velocity that the vehicle will try to achieve |
| [VEHICLE_LINEAR_FRICTION_TIMESCALE](/constants/VEHICLE_LINEAR_FRICTION_TIMESCALE/) | 16 | [vector](https://wiki.secondlife.com/wiki/vector) | vector of timescales for exponential decay of linear velocity along the three vehicle axes |
| [VEHICLE_LINEAR_MOTOR_DIRECTION](/constants/VEHICLE_LINEAR_MOTOR_DIRECTION/) | 18 | [vector](https://wiki.secondlife.com/wiki/vector) | linear velocity that the vehicle will try to achieve |
| [VEHICLE_LINEAR_MOTOR_OFFSET](/constants/VEHICLE_LINEAR_MOTOR_OFFSET/) | 20 | [vector](https://wiki.secondlife.com/wiki/vector) | [offset](https://wiki.secondlife.com/wiki/offset) from the [center of mass](/functions/llGetCenterOfMass/) of the vehicle where the linear motor is applied. |

## Notes

- [VEHICLE_ANGULAR_MOTOR_DIRECTION](/constants/VEHICLE_ANGULAR_MOTOR_DIRECTION/) 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.

## See also

### Functions

- [llSetVehicleRotationParam](/functions/llSetVehicleRotationParam/) — Sets a vehicle rotation parameter
- [llSetVehicleFloatParam](/functions/llSetVehicleFloatParam/) — Sets a vehicle float parameter

### Articles

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

---

*Source: [LlSetVehicleVectorParam](https://wiki.secondlife.com/wiki/LlSetVehicleVectorParam) on the Second Life Wiki. Content from the Second Life Wiki articles LlSetVehicleVectorParam (revision 1168590, 2012-06-07) and Template:LSL Constants/Vehicle (revision 1212771, 2022-11-16), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llSetVehicleVectorParam/
