Difference between revisions of "VEHICLE BANKING COEF"
Jump to navigation
Jump to search
(New page: {{LSL Constant |name=VEHICLE_BANKING_EFFICIENCY |type=integer |value=? |desc=VEHICLE_BANKING_COEF, the angle of the roll rotation, and sometimes the vehicle's velocity along its preferred ...) |
m |
||
Line 1: | Line 1: | ||
{{LSL Constant | {{LSL Constant | ||
|name= | |name=VEHICLE_BANKING_COEF | ||
|type=integer | |type=integer | ||
|value=? | |value=? |
Revision as of 06:54, 8 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer VEHICLE_BANKING_COEF = ?;The integer constant VEHICLE_BANKING_COEF has the value ?
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?).
Caveats
Related Articles
Constants
|
Functions
• | llSetVehicleFloatParam |