From Second Life Wiki
Revision as of 11:13, 17 September 2014 by Dora Gustafson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Function: llSetVehicleRotationParam( integer param, rotation rot );

Sets the vehicle rotation parameter param to rot.

• integer param VEHICLE_* flag
• rotation rot

Constant Description
VEHICLE_REFERENCE_FRAME 44 rotation of vehicle axes relative to local frame


The reference frame can be computed and set in two steps:

  1. Place the vehicle with front facing east(red arrow) and with left side facing north(green arrow)
  2. llSetVehicleRotationParam( VEHICLE_REFERENCE_FRAME, ZERO_ROTATION / llGetRootRotation());

See Also


•  llSetVehicleFloatParam Sets a vehicle float parameter
•  llSetVehicleVectorParam Sets a vehicle vector parmeter


•  Linden Vehicle Tutorial

Deep Notes

Search JIRA for related Issues


function void llSetVehicleRotationParam( integer param, rotation rot );