Head Rotation Patch

Use the Head Rotation patch to make something happen while the user’s head moves in a certain direction.

Input

NameDescription

Face

Track the user’s face from the face tracker.

Outputs

NameDescription
Turned Left

Make something happen when the user turns their head left.

Turned Right

Make something happen when the user turns their head right.

Leaned Left

Make something happen when the user leans their head left.

Leaned Right

Make something happen when the user leans their head right.

Leaned Forward

Make something happen when the user leans their head forward.

Leaned Back

Make something happen when the user leans their head back.

Example

In the example below, an object appears when the user leans their head left. The object disappears when the user moves back.

To do this, we connected the Lean Left output on the Head Rotation patch to the Visible input on the object patch.

Was this article helpful?