GetCustomRightDirection(float, float)

This returns a float that is a normalized remainder of fDirection - fAngle

void GetCustomRightDirection(
    float fDirection,
    float 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

categories: Miscellaneous Functions | Movement Functions


 author: Michael Nork