How do you find an angle of an axis by trying to face it towards it? I want to lerp an an angle to another so that when you move in a direction the object rotates toward it.

How do you find an angle of an axis by trying to face it towards it? I want to lerp an an angle to another so that when you move in a direction the object rotates toward it.

You can use Vector2 and Vector3.Angle() to get the angle between two vectors:
If your doing stuff like trying to make some object “look” at another object, you might find Transform.LookAt() useful:
Maybe RotateTowards is what you’re looking for?