VEHICLE_REFERENCE_FRAME
constant
Constant
integer VEHICLE_REFERENCE_FRAME = 44;Vehicle rotation parameter setting the orientation of the vehicle's preferred axes of motion (at, left, up) relative to its local geometric frame (x, y, z).
Constant groups
Used to set the rotation of vehicle axes relative to local frame.
Examples
Section titled “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();
See also
Section titled “See also”Functions
Section titled “Functions”Articles
Section titled “Articles”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.