Retrieves shortest target angle.
[float angle] shortTargetAngle(float initialAngle, float finalAngle)
local result = vEngine.math.shortTargetAngle(160, 720) --Retrieves shortest target rotation angle print(result) --Prints result
Last updated 2 years ago