VEHICLE BANKING COEF
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
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?).
integer VEHICLE_BANKING_COEF = ?;