Difference between revisions of "VEHICLE REFERENCE FRAME"

From Second Life Wiki
Jump to navigation Jump to search
(Undo revision 1193477 by Dora Gustafson (Talk))
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
|value=44
|value=44
|desc=Used to set the rotation of vehicle axes relative to local frame.
|desc=Used to set the rotation of vehicle axes relative to local frame.
|examples
|examples=The rotation for the reference frame can be found in two steps:
# Place the vehicle with front facing east(red arrow) and with left side facing north(green arrow)
# now: [[rotation]] refFrame = [[ZERO_ROTATION]] / [[llGetRootRotation]]();
|events
|events
|functions={{LSL DefineRow||[[llSetVehicleRotationParam]]}}
|functions={{LSL DefineRow||[[llSetVehicleRotationParam]]}}
Line 11: Line 13:
|comment
|comment
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|cat1=Vehicle
|cat1=Vehicle/Parameters
|cat2
|cat2
|cat3
|cat3

Latest revision as of 11:16, 17 September 2014

Description

Constant: integer VEHICLE_REFERENCE_FRAME = 44;

The integer constant VEHICLE_REFERENCE_FRAME has the value 44

Used to set the rotation of vehicle axes relative to local frame.

Related Articles

Functions

•  llSetVehicleRotationParam

Articles

•  Linden Vehicle Tutorial

Examples

The rotation for the reference frame can be found in two steps:

  1. Place the vehicle with front facing east(red arrow) and with left side facing north(green arrow)
  2. now: rotation refFrame = ZERO_ROTATION / llGetRootRotation();

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_REFERENCE_FRAME = 44;