top of page
Angle between 2 Points
float angle = TScriptUt.AngleBetweenPoints(vector3Point, Vector3OtherPoint);
This is a feature that can give an angle between 2 points. It has almost identical code as Look at 2D but will not return a quaternion but rather a float, making it useful for when you want to not make a transform rotate or want to modify the amount.
bottom of page