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

categories: Math Functions | Miscellaneous Functions | Movement Functions


 author: Michael Nork