Motion
Get Motion

ReferenceScripting APIMoteapplyTorque

Mote.applyTorque

method

A turning push on its body: the degrees a second it gains, times its inertia.

NameapplyTorque
Kindmethod of Mote
Called asscene.pickItem(…).applyTorque(…)
As a nodeAdd Torque (logic graph)
Since0.4

Syntax

applyTorque(t: number | number[] | Rotator): void

Parameters

NameTypeDescription
tnumber | number[] | RotatorA number (about the axis out of the screen: its yaw), or { pitch, yaw, roll } in 3D

Returns

Nothing.

See also

Rotator