Method RotateTowards
RotateTowards(Quaternion, Quaternion, Single)
Rotates a rotation from towards to.
Declaration
public static Quaternion RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | from | From Quaternion. |
Quaternion | to | To Quaternion. |
System.Single | maxDegreesDelta |
Returns
Type | Description |
---|---|
Quaternion |