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
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:
- Use a targeting action to choose an enemy, or use the mouse as your aim source.
- Use Transform Look At Target 2D or Transform Look At Mouse 2D.
- Adjust the facing axis so it matches your sprite or model setup.
- Add a shooting action or state transition when the object is facing correctly.