Difference between revisions of "VEHICLE LINEAR MOTOR OFFSET"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value=20 | |value=20 | ||
|desc=Used with [[llSetVehicleVectorParam]] to set the offset for where the linear motor is to be applied from the vehicle's center of mass. | |desc=Used with [[llSetVehicleVectorParam]] to set the offset for where the linear motor is to be applied from the vehicle's [[llGetCenterOfMass|center of mass]]. | ||
If the | If the vehicle does not set the VEHICLE_LINEAR_MOTOR_OFFSET, then it defaults to [[ZERO_VECTOR|<0.0, 0.0, 0.0>]]. | ||
|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. | |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. | ||
Line 13: | Line 13: | ||
|events | |events | ||
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}} | |articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}} | ||
|cat1=Vehicle | |cat1=Vehicle/Parameters | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Latest revision as of 23:28, 20 June 2009
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 for where the linear motor is to be applied from the vehicle's center of mass.
If the vehicle does not set the VEHICLE_LINEAR_MOTOR_OFFSET, 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.