# llSetVehicleFloatParam

*LSL function*

```lsl
void llSetVehicleFloatParam(integer param, float value);
```

- `integer param`: VEHICLE_* float parameter constant to set.
- `float value`: Float value to set.

- Energy: 10

Sets the specified vehicle float parameter param to value.

Sets the vehicle float parameter **param** to **value**.

```lsl title="How to use" frame="terminal"
llSetVehicleFloatParam(0, 0.0);
```

## Specification

| Constant |  | Type | Description |
| --- | --- | --- | --- |
| [VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY](/constants/VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY/) | 32 | [float](https://wiki.secondlife.com/wiki/float) | slider between 0 (no deflection) and 1 (maximum strength) |
| [VEHICLE_ANGULAR_DEFLECTION_TIMESCALE](/constants/VEHICLE_ANGULAR_DEFLECTION_TIMESCALE/) | 33 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the vehicle to achieve full angular deflection |
| [VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE](/constants/VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE/) | 35 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the angular motor's effectiveness to decay toward zero |
| [VEHICLE_ANGULAR_MOTOR_TIMESCALE](/constants/VEHICLE_ANGULAR_MOTOR_TIMESCALE/) | 34 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the vehicle to achive its full angular motor velocity |
| [VEHICLE_BANKING_EFFICIENCY](/constants/VEHICLE_BANKING_EFFICIENCY/) | 38 | [float](https://wiki.secondlife.com/wiki/float) | slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns) |
| [VEHICLE_BANKING_MIX](/constants/VEHICLE_BANKING_MIX/) | 39 | [float](https://wiki.secondlife.com/wiki/float) | slider between 0 (static banking) and 1 (dynamic banking) |
| [VEHICLE_BANKING_TIMESCALE](/constants/VEHICLE_BANKING_TIMESCALE/) | 40 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the banking behavior to take full effect |
| [VEHICLE_BUOYANCY](/constants/VEHICLE_BUOYANCY/) | 27 | [float](https://wiki.secondlife.com/wiki/float) | slider between -1 (double-[gravity](https://wiki.secondlife.com/wiki/gravity)) and 1 (full anti-gravity) |
| [VEHICLE_HOVER_HEIGHT](/constants/VEHICLE_HOVER_HEIGHT/) | 24 | [float](https://wiki.secondlife.com/wiki/float) | height the vehicle will try to hover. |
| [VEHICLE_HOVER_EFFICIENCY](/constants/VEHICLE_HOVER_EFFICIENCY/) | 25 | [float](https://wiki.secondlife.com/wiki/float) | slider between 0 (bouncy) and 1 (critically damped) hover behavior |
| [VEHICLE_HOVER_TIMESCALE](/constants/VEHICLE_HOVER_TIMESCALE/) | 26 | [float](https://wiki.secondlife.com/wiki/float) | period of time for the vehicle to achieve its hover height |
| [VEHICLE_LINEAR_DEFLECTION_EFFICIENCY](/constants/VEHICLE_LINEAR_DEFLECTION_EFFICIENCY/) | 28 | [float](https://wiki.secondlife.com/wiki/float) | slider between 0 (no deflection) and 1 (maximum strength) |
| [VEHICLE_LINEAR_DEFLECTION_TIMESCALE](/constants/VEHICLE_LINEAR_DEFLECTION_TIMESCALE/) | 29 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the vehicle to redirect its velocity to be along its x-axis |
| [VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE](/constants/VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE/) | 31 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the linear motor's effectiveness to decay toward zero |
| [VEHICLE_LINEAR_MOTOR_TIMESCALE](/constants/VEHICLE_LINEAR_MOTOR_TIMESCALE/) | 30 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the vehicleto achive its full linear motor velocity |
| [VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY](/constants/VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY/) | 36 | [float](https://wiki.secondlife.com/wiki/float) | slider between 0 (bouncy) and 1 (critically damped) attraction of *vehicle* z-axis to [world](https://wiki.secondlife.com/wiki/world) z-axis (vertical) |
| [VEHICLE_VERTICAL_ATTRACTION_TIMESCALE](/constants/VEHICLE_VERTICAL_ATTRACTION_TIMESCALE/) | 37 | [float](https://wiki.secondlife.com/wiki/float) | exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical) |

## See also

### Functions

- [llSetVehicleRotationParam](/functions/llSetVehicleRotationParam/) — Sets a vehicle rotation parameter
- [llSetVehicleVectorParam](/functions/llSetVehicleVectorParam/) — Sets a vehicle vector parameter

### Articles

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

---

*Source: [LlSetVehicleFloatParam](https://wiki.secondlife.com/wiki/LlSetVehicleFloatParam) on the Second Life Wiki. Content from the Second Life Wiki articles LlSetVehicleFloatParam (revision 1168591, 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/llSetVehicleFloatParam/
