GetCustomLeftDirection

From NWN Lexicon



Contents

[edit] GetCustomLeftDirection(float, float)

This function returns a normalized number that is the sum of the current facing and the angle to target

float GetCustomLeftDirection(
    float fDirection,
    float fAngle
);

[edit] Parameters

fDirection

Current Facing

fAngle

Angle to Taget


[edit] Description

This is a convenience function that returns a float representing a normalized angle that is +135 degrees from fDirection.

Calls
float GetNormalizedDirection(float fDirection)



[edit] Remarks

Note: Three lefts make a right


[edit] Requirements

#include " x0_i0_position "

[edit] Version

1.61

[edit] See Also



 author: Michael Nork
 

Personal tools
Categories