4 March 2017
degrees to radians.25 March 2016
angles to degrees 23 March 2016
The turn command is meant to turn Corrade around (either with a clockwise (right) or a counter-clockwise (left) rotation) given an angle measured in degrees.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
turn | group, password, direction, radians | movement | llInstantMessage(CORRADE, wasKeyValueEncode( [ // turn Corrade anti-clockwise 45 degrees. "command", "turn", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // Reads as: turn around counter- // clockwise 30 degrees. "direction", "left", "radians", 30 * DEG_TO_RAD ] ) ); |
| Parameter | Possible Value | Description |
|---|---|---|
direction | left | Direction on which to move (in a local frame). |
right |
||
radians | Radians | The angle in radians to turn Corrade around. |
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.