Skip to content

Transform Get Angle To Target

Gets the unsigned angle from a Transform's forward axis to a target.

Parameters

Parameter Description
Transform The source Transform.
Target The target Transform.
Get Angle Stores the angle in degrees.
Forward Axis Local axis treated as forward for the angle calculation.

Notes

  • Use this when you only care about the size of the angle, not left vs right direction.
  • This is useful for cone checks, aim assists, and target selection.