Skip to content

Gameplay Orientation

Gameplay Orientation actions rotate objects so they face a useful direction during play.

These are especially helpful for turrets, enemies, top-down characters, cursor-driven aim, and any object that should continuously face a point or target.

Subcategories

Transform

Rotate a Transform to face directions, points, targets, or the mouse.

When to use Orientation vs Targeting

Use Targeting actions when you need to choose or measure a target.

Use Orientation actions when you already know what to face and want to rotate toward it.

Example

A common top-down aiming setup looks like this:

  1. Use a targeting action to choose an enemy, or use the mouse as your aim source.
  2. Use Transform Look At Target 2D or Transform Look At Mouse 2D.
  3. Adjust the facing axis so it matches your sprite or model setup.
  4. Add a shooting action or state transition when the object is facing correctly.