VEHICLE LINEAR MOTOR OFFSET
Revision as of 19:23, 29 May 2008 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer VEHICLE_LINEAR_MOTOR_OFFSET = 20;The integer constant VEHICLE_LINEAR_MOTOR_OFFSET has the value 20
Used with llSetVehicleVectorParam to set the offset (from the vehicle's center of mass) for where the linear motor is to be applied.
If the VEHICLE_LINEAR_MOTOR_OFFSET is not set, then it defaults to <0.0, 0.0, 0.0>.
Caveats
Related Articles
Notes
This could be useful in vehicles where the source of thrust is important, such as a rocket or an air ship. Most vehicles do not need to change this value from the default.
In rockets using this offset gives that very distinctive spiraling out of control.