GetRightDirection

From NWN Lexicon
Jump to navigationJump to search



GetRightDirection(float)

Returns a normalized float that is -90 from the facing passed in

float GetRightDirection(
    float fDirection
);

Parameters

fDirection

Current Facing


Description

This is a convenience function that returns a float representing a normalized angle that is -90 degrees from fDirection. (IE, what you would use to make an object turn to the right.)



Requirements

#include " x0_i0_position "

Version

1.61

See Also



 author: Michael Nork