Transform Look At Point
Rotates a Transform so a chosen local axis faces a world position.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to rotate. |
| World Position | World position to face. |
| Rotation Constraint | None, X, Y, or Z. |
| Facing Axis | Local axis that should face the point. |
| World Up | Used when Rotation Constraint is None. |
| Smooth Time | Smoothing time in seconds. |
| Max Speed | Maximum turn speed in degrees per second. |
Notes
- This is useful for aiming at fixed points, markers, and predicted positions.