Difference between revisions of "VEHICLE REFERENCE FRAME"
Jump to navigation
Jump to search
(New page: sunja) |
(Undo revision 1193477 by Dora Gustafson (Talk)) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Constant | |||
|name=VEHICLE_REFERENCE_FRAME | |||
|type=integer | |||
|value=44 | |||
|desc=Used to set the rotation of vehicle axes relative to local frame. | |||
|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 | |||
|functions={{LSL DefineRow||[[llSetVehicleRotationParam]]}} | |||
|location | |||
|history | |||
|comment | |||
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}} | |||
|cat1=Vehicle/Parameters | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
|cat5 | |||
|cat6 | |||
}} |
Latest revision as of 10:16, 17 September 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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.
Caveats
Related Articles
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();