VEHICLE REFERENCE FRAME

From Second Life Wiki
Jump to navigation Jump to search

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;