Template:LSL Constants/Vehicle
| Constant | Type | Description | |
|---|---|---|---|
| 32 | float | slider between 0 (no deflection) and 1 (maximum strength) | |
| VEHICLE_ANGULAR_DEFLECTION_TIMESCALE | 33 | float | exponential timescale for the vehicle to achieve full angular deflection |
| 17 | vector | vector of timescales for exponential decay of angular velocity about the three vehicle axes | |
| 35 | float | exponential timescale for the angular motor's effectiveness to decay toward zero | |
| 19 | vector | angular velocity that the vehicle will try to achieve | |
| 34 | float | exponential timescale for the vehicle to achive its full angular motor velocity | |
| VEHICLE_BANKING_EFFICIENCY | 38 | float | slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns) |
| VEHICLE_BANKING_MIX | 39 | float | slider between 0 (static banking) and 1 (dynamic banking) |
| VEHICLE_BANKING_TIMESCALE | 40 | float | exponential timescale for the banking behavior to take full effect |
| VEHICLE_BUOYANCY | 27 | float | slider between -1 (double-gravity) and 1 (full anti-gravity) |
| VEHICLE_HOVER_HEIGHT | 24 | float | height the vehicle will try to hover. |
| VEHICLE_HOVER_EFFICIENCY | 25 | float | slider between 0 (bouncy) and 1 (critically damped) hover behavior |
| VEHICLE_HOVER_TIMESCALE | 26 | float | period of time for the vehicle to achieve its hover height |
| VEHICLE_LINEAR_DEFLECTION_EFFICIENCY | 28 | float | slider between 0 (no deflection) and 1 (maximum strength) |
| VEHICLE_LINEAR_DEFLECTION_TIMESCALE | 29 | float | exponential timescale for the vehicle to redirect its velocity to be along its x-axis |
| 16 | vector | vector of timescales for exponential decay of linear velocity along the three vehicle axes | |
| 31 | float | exponential timescale for the linear motor's effectiveness to decay toward zero | |
| 18 | vector | linear velocity that the vehicle will try to achieve | |
| 30 | float | exponential timescale for the vehicle to achive its full linear motor velocity | |
| 20 | vector | offset from the center of mass of the vehicle where the linear motor is applied. | |
| 44 | rotation | rotation of vehicle axes relative to local frame | |
| 36 | float | slider between 0 (bouncy) and 1 (critically damped) attraction of vehicle z-axis to world z-axis (vertical) | |
| VEHICLE_VERTICAL_ATTRACTION_TIMESCALE | 37 | float | exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical) |
| Constant | Description | |
|---|---|---|
| 44 | rotation of vehicle axes relative to local frame | |
| Constant | Description | |
|---|---|---|
| 17 | vector of timescales for exponential decay of angular velocity about the three vehicle axes | |
| 19 | angular velocity that the vehicle will try to achieve | |
| 16 | vector of timescales for exponential decay of linear velocity along the three vehicle axes | |
| 18 | linear velocity that the vehicle will try to achieve | |
| 20 | offset from the center of mass of the vehicle where the linear motor is applied. | |
| Constant | Description | |
|---|---|---|
| 32 | slider between 0 (no deflection) and 1 (maximum strength) | |
| VEHICLE_ANGULAR_DEFLECTION_TIMESCALE | 33 | exponential timescale for the vehicle to achieve full angular deflection |
| 35 | exponential timescale for the angular motor's effectiveness to decay toward zero | |
| 34 | exponential timescale for the vehicle to achive its full angular motor velocity | |
| VEHICLE_BANKING_EFFICIENCY | 38 | slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns) |
| VEHICLE_BANKING_MIX | 39 | slider between 0 (static banking) and 1 (dynamic banking) |
| VEHICLE_BANKING_TIMESCALE | 40 | exponential timescale for the banking behavior to take full effect |
| VEHICLE_BUOYANCY | 27 | slider between -1 (double-gravity) and 1 (full anti-gravity) |
| VEHICLE_HOVER_HEIGHT | 24 | height the vehicle will try to hover. |
| VEHICLE_HOVER_EFFICIENCY | 25 | slider between 0 (bouncy) and 1 (critically damped) hover behavior |
| VEHICLE_HOVER_TIMESCALE | 26 | period of time for the vehicle to achieve its hover height |
| VEHICLE_LINEAR_DEFLECTION_EFFICIENCY | 28 | slider between 0 (no deflection) and 1 (maximum strength) |
| VEHICLE_LINEAR_DEFLECTION_TIMESCALE | 29 | exponential timescale for the vehicle to redirect its velocity to be along its x-axis |
| 31 | exponential timescale for the linear motor's effectiveness to decay toward zero | |
| 30 | exponential timescale for the vehicle to achive its full linear motor velocity | |
| 36 | slider between 0 (bouncy) and 1 (critically damped) attraction of vehicle z-axis to world z-axis (vertical) | |
| VEHICLE_VERTICAL_ATTRACTION_TIMESCALE | 37 | exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical) |
| Test | VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY | 32 | float | slider between 0 (no deflection) and 1 (maximum strength) |
| VEHICLE_ANGULAR_DEFLECTION_TIMESCALE | 33 | float | exponential timescale for the vehicle to achieve full angular deflection | |
| 17 | vector | vector of timescales for exponential decay of angular velocity about the three vehicle axes | ||
| 35 | float | exponential timescale for the angular motor's effectiveness to decay toward zero | ||
| 19 | vector | angular velocity that the vehicle will try to achieve | ||
| 34 | float | exponential timescale for the vehicle to achive its full angular motor velocity | ||
| VEHICLE_BANKING_EFFICIENCY | 38 | float | slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns) | |
| VEHICLE_BANKING_MIX | 39 | float | slider between 0 (static banking) and 1 (dynamic banking) | |
| VEHICLE_BANKING_TIMESCALE | 40 | float | exponential timescale for the banking behavior to take full effect | |
| VEHICLE_BUOYANCY | 27 | float | slider between -1 (double-gravity) and 1 (full anti-gravity) | |
| VEHICLE_HOVER_HEIGHT | 24 | float | height the vehicle will try to hover. | |
| VEHICLE_HOVER_EFFICIENCY | 25 | float | slider between 0 (bouncy) and 1 (critically damped) hover behavior | |
| VEHICLE_HOVER_TIMESCALE | 26 | float | period of time for the vehicle to achieve its hover height | |
| VEHICLE_LINEAR_DEFLECTION_EFFICIENCY | 28 | float | slider between 0 (no deflection) and 1 (maximum strength) | |
| VEHICLE_LINEAR_DEFLECTION_TIMESCALE | 29 | float | exponential timescale for the vehicle to redirect its velocity to be along its x-axis | |
| 16 | vector | vector of timescales for exponential decay of linear velocity along the three vehicle axes | ||
| 31 | float | exponential timescale for the linear motor's effectiveness to decay toward zero | ||
| 18 | vector | linear velocity that the vehicle will try to achieve | ||
| 30 | float | exponential timescale for the vehicle to achive its full linear motor velocity | ||
| 20 | vector | offset from the center of mass of the vehicle where the linear motor is applied. | ||
| 44 | rotation | rotation of vehicle axes relative to local frame | ||
| 36 | float | slider between 0 (bouncy) and 1 (critically damped) attraction of vehicle z-axis to world z-axis (vertical) | ||
| VEHICLE_VERTICAL_ATTRACTION_TIMESCALE | 37 | float | exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical) | |
| Test |