Difference between revisions of "VEHICLE LINEAR MOTOR OFFSET"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Constant |name=VEHICLE_LINEAR_MOTOR_OFFSET |type=integer |value=20 |desc=vector of offset from the center of mass of the vehicle where the linear motor is applied. <!-- <lsl> </lsl> ...)
 
m
Line 3: Line 3:
|type=integer
|type=integer
|value=20
|value=20
|desc=vector of offset from the center of mass of the vehicle where the linear motor is applied.
|desc=Used with [[llSetVehicleVectorParam]] to set the offset (from the vehicle's center of mass) for where the linear motor is to be applied.
<!--
 
<lsl>
If the VEHICLE_LINEAR_MOTOR_OFFSET is not set, then it defaults to [[ZERO_VECTOR|<0.0, 0.0, 0.0>]].
</lsl>
|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.
-->
 
|functions=
In rockets using this offset gives that very distinctive spiraling out of control.
{{LSL DefineRow||[[llSetVehicleVectorParam]]|}}
|examples
|events=
|functions={{LSL DefineRow||[[llSetVehicleVectorParam]]|}}
<!--{{LSL DefineRow||[[changed]]|}}-->
|events
|also_articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|cat1
|cat1=Vehicle
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 20:23, 29 May 2008

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>.

Related Articles

Functions

•  llSetVehicleVectorParam

Articles

•  Linden Vehicle Tutorial

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.

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_LINEAR_MOTOR_OFFSET = 20;