Transform Look At Direction 2D
Rotates a Transform in 2D so a chosen local axis faces a world direction.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to rotate. |
| Direction | World direction to face. |
| Facing Axis | 2D local axis that should face the direction. |
| Smooth Time | Smoothing time in seconds. |
| Max Speed | Maximum turn speed in degrees per second. |
Notes
- This action rotates around Z for typical 2D gameplay.