Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

SPIN

The object's angular velocity becomes equal to its current angular velocity, plus the given angular velocity relative to its rotation in the world.

Appearance in Composition Pane
Description

Spin increases an object’s angular velocity by the vector in rotations per second relative to its rotation in the world.
Parameters

object, vector
Spins an object by the angular velocity vector in rotations per second.


PREREQUISITE READING

PUSH IN LOCAL SPACE WITH MASS precedes this tutorial


Example 1: Spinning top

When world is started a spin vector of 0,2,0 spins the object along the world’s y axis. A greater y number will spin the object faster.

Next Up