VehicleFloatParam
Constants in the VehicleFloatParam enum.
// Otherinteger VEHICLE_BUOYANCY = 27; // Vehicle float parameter (range -1.0 to 1.0) defining buoyancy, where -1.0 represents double gravity and 1.0 represents full anti-gravity.// VEHICLE_ANGULAR_*integer VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32; // Vehicle float parameter (range 0.0 to 1.0) acting as a scalar to modulate the strength of angular deflection, reorienting the vehicle's preferred axis toward its true velocity.integer VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33; // Vehicle float parameter specifying the exponential timescale for the vehicle to achieve full angular deflection, reorienting its preferred axis of motion to match its true velocity.integer VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35; // Vehicle float parameter specifying the exponential timescale (in seconds) for the angular motor's magnitude and effectiveness to decay toward zero.integer VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34; // Vehicle float parameter specifying the exponential timescale for the vehicle's angular motor to achieve full power and velocity.// VEHICLE_BANKING_*integer VEHICLE_BANKING_EFFICIENCY = 38; // Vehicle float parameter (range -1.0 to 1.0) controlling banking efficiency, where negative values lean out of turns and positive values lean into turns.integer VEHICLE_BANKING_MIX = 39; // Vehicle float parameter (range 0.0 (static) to 1.0) (dynamic) controlling the mix between static banking (scales only with roll angle) and dynamic banking (additionally scales with linear speed).integer VEHICLE_BANKING_TIMESCALE = 40; // Vehicle float parameter specifying the exponential timescale for the banking behavior to take full effect.// VEHICLE_HOVER_*integer VEHICLE_HOVER_EFFICIENCY = 25; // Vehicle float parameter (range 0.0 to 1.0) controlling hover damping, where 0.0 is bouncy and 1.0 is critically damped.integer VEHICLE_HOVER_HEIGHT = 24; // Vehicle float parameter specifying the height at which the vehicle attempts to hover.integer VEHICLE_HOVER_TIMESCALE = 26; // Vehicle float parameter specifying the timescale (period of time in seconds) for the vehicle to achieve its hover height.// VEHICLE_LINEAR_*integer VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28; // Vehicle float parameter (range 0.0 to 1.0) modulating the efficiency and strength of linear deflection.integer VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29; // Vehicle float parameter specifying the exponential timescale for the vehicle to redirect its linear velocity along its preferred X-axis.integer VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31; // Vehicle float parameter specifying the exponential timescale (in seconds) for the linear motor's magnitude and effectiveness to decay toward zero.integer VEHICLE_LINEAR_MOTOR_TIMESCALE = 30; // Vehicle float parameter specifying the exponential timescale for the vehicle to reach its full linear motor velocity.// VEHICLE_VERTICAL_*integer VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36; // Vehicle float parameter (range 0.0 to 1.0) controlling vertical attraction stability (0.0 is wobbly/bouncy, 1.0 is critically damped/firm) to keep the vehicle upright.integer VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37; // Vehicle float parameter specifying the exponential timescale (in seconds) for the vehicle to rotate and align its local Z-axis (up) with the world Z-axis (vertical).
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY | integer | 32 | Vehicle float parameter (range 0.0 to 1.0) acting as a scalar to modulate the strength of angular deflection, reorienting the vehicle's preferred axis toward its true velocity. |
VEHICLE_ANGULAR_DEFLECTION_TIMESCALE | integer | 33 | Vehicle float parameter specifying the exponential timescale for the vehicle to achieve full angular deflection, reorienting its preferred axis of motion to match its true velocity. |
VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE | integer | 35 | Vehicle float parameter specifying the exponential timescale (in seconds) for the angular motor's magnitude and effectiveness to decay toward zero. |
VEHICLE_ANGULAR_MOTOR_TIMESCALE | integer | 34 | Vehicle float parameter specifying the exponential timescale for the vehicle's angular motor to achieve full power and velocity. |
VEHICLE_BANKING_EFFICIENCY | integer | 38 | Vehicle float parameter (range -1.0 to 1.0) controlling banking efficiency, where negative values lean out of turns and positive values lean into turns. This parameter makes banking affect steering; use angular motors to bank. 0.0 means no banking. |
VEHICLE_BANKING_MIX | integer | 39 | Vehicle float parameter (range 0.0 (static) to 1.0) (dynamic) controlling the mix between static banking (scales only with roll angle) and dynamic banking (additionally scales with linear speed). |
VEHICLE_BANKING_TIMESCALE | integer | 40 | Vehicle float parameter specifying the exponential timescale for the banking behavior to take full effect. This is another way to scale the strength of the banking effect, however it affects the term that is proportional to the difference between what the banking behavior is trying to do, and what the vehicle is actually doing. |
VEHICLE_BUOYANCY | integer | 27 | Vehicle float parameter (range -1.0 to 1.0) defining buoyancy, where -1.0 represents double gravity and 1.0 represents full anti-gravity. |
VEHICLE_HOVER_EFFICIENCY | integer | 25 | Vehicle float parameter (range 0.0 to 1.0) controlling hover damping, where 0.0 is bouncy and 1.0 is critically damped. |
VEHICLE_HOVER_HEIGHT | integer | 24 | Vehicle float parameter specifying the height at which the vehicle attempts to hover. Set to 0.0 to disable hover. |
VEHICLE_HOVER_TIMESCALE | integer | 26 | Vehicle float parameter specifying the timescale (period of time in seconds) for the vehicle to achieve its hover height. |
VEHICLE_LINEAR_DEFLECTION_EFFICIENCY | integer | 28 | Vehicle float parameter (range 0.0 to 1.0) modulating the efficiency and strength of linear deflection. That is, its a simple scalar for modulating the strength of linear deflection. |
VEHICLE_LINEAR_DEFLECTION_TIMESCALE | integer | 29 | Vehicle float parameter specifying the exponential timescale for the vehicle to redirect its linear velocity along its preferred X-axis. It is another way to specify how much time it takes for the vehicle's linear velocity to be redirected to its preferred axis of motion. |
VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE | integer | 31 | Vehicle float parameter specifying the exponential timescale (in seconds) for the linear motor's magnitude and effectiveness to decay toward zero. |
VEHICLE_LINEAR_MOTOR_TIMESCALE | integer | 30 | Vehicle float parameter specifying the exponential timescale for the vehicle to reach its full linear motor velocity. |
VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY | integer | 36 | Vehicle float parameter (range 0.0 to 1.0) controlling vertical attraction stability (0.0 is wobbly/bouncy, 1.0 is critically damped/firm) to keep the vehicle upright. |
VEHICLE_VERTICAL_ATTRACTION_TIMESCALE | integer | 37 | Vehicle float parameter specifying the exponential timescale (in seconds) for the vehicle to rotate and align its local Z-axis (up) with the world Z-axis (vertical). |
Used by
llSetVehicleFloatParamfunctionSets the specified vehicle float parameter param to value.