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
);

Parameters

fDirection

Current Facing

fAngle

Angle to Taget


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)



Remarks

Note: Three lefts make a right


Requirements

#include "x0_i0_position"

Version

1.61

See Also

categories: Math Functions | Miscellaneous Functions | Movement Functions


 author: Michael Nork