LlSetVehicleRotationParam
Looking for the current API? Open the llSetVehicleRotationParam reference →
Wiki description
Sets the vehicle rotation parameter
param to rot.Specification
| Constant | Type | Description | |
|---|---|---|---|
| VEHICLE_REFERENCE_FRAME | 44 | rotation | rotation of vehicle axes relative to local frame |
Examples
The reference frame can be computed and set in two steps:
- Place the vehicle with front facing east(red arrow) and with left side facing north(green arrow)
- llSetVehicleRotationParam( VEHICLE_REFERENCE_FRAME, ZERO_ROTATION / llGetRootRotation());
See also: functions
See also: 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.