Description
Returns the gradient angle (in radians) of the terrain at a specified position and a compass direction. It is an angle of the slope of a tangent plane to the terrain at the specified position in the specified direction.
Syntax
Parameters:
object: Object or Positiondirection: Number - direction where should be gradient calculated (compass direction)delta: Number - which stepsize should be used
Returns: Number - gradient angle in radians
Examples
Example 1
private _radGrad = [getPos player, getDir player] call BIS_fnc_terrainGradAngle;