GetCustomRightDirection
From NWN Lexicon
Contents |
[edit] GetCustomRightDirection(float, float)
This returns a float that is a normalized remainder of fDirection - fAngle
void GetCustomRightDirection( float fDirection, float fAngle );
[edit] Parameters
fDirection
Current Facing
fAngle
Angle to target
[edit] 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.
[edit] Remarks
Note: Three rights make a left.
[edit] Requirements
#include " x0_i0_position "
[edit] Version
1.61
[edit] See Also
author: Michael Nork