ReferenceScripting APIMotesetRotation
Mote.setRotation
methodTurns it.
| Name | setRotation |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).setRotation(…) |
| As a node | Set Mote Rotation (logic graph) |
| Since | 0.3 |
Syntax
setRotation(r: number | number[] | Rotator): voidParameters
| Name | Type | Description |
|---|---|---|
r | number | number[] | Rotator | Degrees: the yaw alone, { pitch, yaw, roll }, or [pitch, yaw, roll] |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.