Difference between revisions of "VEHICLE BANKING COEF"

From Second Life Wiki
Jump to navigation Jump to search
m
m (This constant doesn't exist, nor is there any backend support for it!)
Line 1: Line 1:
{{LSL Constant
 
|name=VEHICLE_BANKING_COEF
|type=integer
|value=?
|desc=VEHICLE_BANKING_COEF, the angle of the roll rotation, and sometimes the vehicle's velocity along its preferred axis of motion. The VEHICLE_BANKING_COEF can vary between -1 and +1. When it is positive then any positive rotation (by the right-hand rule) about the roll-axis will effect a (negative) torque around the yaw-axis, making it turn to the right--that is the vehicle will lean into the turn, which is how real airplanes and motorcycle's work. Negating the banking coefficient will make it so that the vehicle leans to the outside of the turn (not very "physical" but might allow interesting vehicles so why not?).
<!--
<lsl>
</lsl>
-->
|functions=
{{LSL DefineRow||[[llSetVehicleFloatParam]]|}}
|events=
<!--{{LSL DefineRow||[[changed]]|}}-->
|constants=
{{!}} {{LSL Constants/Vehicle}}
|also_articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|cat1
|cat2
|cat3
|cat4
}}

Revision as of 12:45, 9 April 2008