ReferenceScripting APIMoteapplyTorque
Mote.applyTorque
methodA turning push on its body: the degrees a second it gains, times its inertia.
| Name | applyTorque |
|---|---|
| Kind | method of Mote |
| Called as | scene.pickItem(…).applyTorque(…) |
| As a node | Add Torque (logic graph) |
| Since | 0.4 |
Syntax
applyTorque(t: number | number[] | Rotator): voidParameters
| Name | Type | Description |
|---|---|---|
t | number | number[] | Rotator | A number (about the axis out of the screen: its yaw), or { pitch, yaw, roll } in 3D |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.