Difference between revisions of "Template:LSL Constants/Vehicle"

From Second Life Wiki
Jump to navigation Jump to search
Line 19: Line 19:
{{!}} 17
{{!}} 17
{{!}} {{LSLG|vector}}
{{!}} {{LSLG|vector}}
{{!}} vector of timescales for exponential decay of angular velocity about the three vehicle axes}}{{#ifeq:{{{type|float}}}|float|
{{!}} vector of timescales for exponential decay of angular velocity about the three vehicle axes}}
{{!}}-
{{#ifeq:{{{type|float}}}|float|{{!}}-
{{!}} {{LSLG|VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE}}
{{!}} {{LSLG|VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE}}
{{!}} 35
{{!}} 35

Revision as of 14:05, 13 February 2007

Constant Value Type Description
VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY 32 float slider between 0 (no deflection) and 1 (maximum strength)
VEHICLE_ANGULAR_DEFLECTION_TIMESCALE 33 float - VEHICLE_ANGULAR_FRICTION_TIMESCALE 17 vector vector of timescales for exponential decay of angular velocity about the three vehicle axes
VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE 35 float - VEHICLE_ANGULAR_MOTOR_DIRECTION 19 vector - VEHICLE_ANGULAR_MOTOR_TIMESCALE 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 (*1)
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 - VEHICLE_LINEAR_FRICTION_TIMESCALE 16 vector - VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE 31 float - VEHICLE_LINEAR_MOTOR_DIRECTION 18 vector - VEHICLE_LINEAR_MOTOR_TIMESCALE 30 float - VEHICLE_LINEAR_MOTOR_OFFSET 20 vector offset from the center of mass of the vehicle where the linear motor is applied.|- VEHICLE_REFERENCE_FRAME 44 rotation - VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY 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)