Method Angle
Angle(Vector3, Vector3)
Returns the angle in degrees between from and to. The angle returned is always the acute angle between the two vectors.
Declaration
public static float Angle(Vector3 from, Vector3 to)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | from | |
Vector3 | to |
Returns
Type | Description |
---|---|
System.Single |