llSetVehicleRotationParam
void llSetVehicleRotationParam(integer ParameterName, rotation ParameterValue)Sets a vehicle rotation parameter.
Valid parameters can be found in the wiki documentation.
Parameters
ParameterName(integer)ParameterValue(rotation)
Setting the vehicle reference frame to align with world axes (front facing east, left side facing north):
- Place the vehicle with front facing east (red arrow) and with left side facing north (green arrow)
- Set the reference frame using:
llSetVehicleRotationParam(VEHICLE_REFERENCE_FRAME, ZERO_ROTATION / llGetRootRotation());See Also
Section titled “See Also”- llSetVehicleFloatParam
- llSetVehicleVectorParam
- Linden Vehicle Tutorial - Learn more about vehicle physics