GetCustomRightDirection
From NWN Lexicon
Jump to navigationJump to search
GetCustomRightDirection(float, float)
This returns a float that is a normalized remainder of fDirection - fAngle
Parameters
fDirection
Current Facing
fAngle
Angle to target
Description
This function calculates a normalized numeber that is the remainder of fDirection minus fAngle. The resulting number represents the current facing offset to the right by the passed in angle.
Remarks
Note: Three rights make a left.
Requirements
#include " x0_i0_position "
Version
1.61
See Also
author: Michael Nork