This is an old revision of the document!
Arguments | Result | Notation |
---|---|---|
Two angles in radians | The shortest angle between the two specified angles | f1 f2 – f3 |
Given two angles, calculates the shortest angle between the two. Useful for determining which direction a unit should rotate in order to turn to a given direction. A positive or negative value will be returned in the range of PI to -PI. Negative values indicate clockwise rotation.
1.1 2.5 ShortestAngle trace