Difference between revisions of "VEHICLE LINEAR MOTOR DIRECTION"

From Second Life Wiki
Jump to navigation Jump to search
m
m (+clarification + caveat)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|type=integer
|type=integer
|value=18
|value=18
|desc=Vector of linear velocity that the vehicle will try to achieve.
|desc=Vector of linear velocity (in meters/second) that the vehicle will try to achieve.


May conflict with any active [[llTargetOmega]] set in the root prim and prevent vehicle turns. Call [[llTargetOmega]] with a gain of 0 to disable it.
May conflict with any active [[llTargetOmega]] set in the root prim and prevent vehicle turns. Call [[llTargetOmega]] with a gain of 0 to disable it.
Line 11: Line 11:
</lsl>
</lsl>
-->
-->
|caveats=
* [[VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE]] magnitude is capped at 30.0
|functions=
|functions=
{{LSL DefineRow||[[llSetVehicleVectorParam]]|}}
{{LSL DefineRow||[[llSetVehicleVectorParam]]|}}
|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 05:41, 16 January 2011

Description

Constant: integer VEHICLE_LINEAR_MOTOR_DIRECTION = 18;

The integer constant VEHICLE_LINEAR_MOTOR_DIRECTION has the value 18

Vector of linear velocity (in meters/second) that the vehicle will try to achieve.

May conflict with any active llTargetOmega set in the root prim and prevent vehicle turns. Call llTargetOmega with a gain of 0 to disable it.

Related Articles

Functions

•  llSetVehicleVectorParam

Articles

•  Linden Vehicle Tutorial

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_LINEAR_MOTOR_DIRECTION = 18;