BIS fnc terrainGradAngle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 10: | Line 10: | ||
It is an angle of the slope of a tangent plane to the terrain at the specified position in the specified direction. | It is an angle of the slope of a tangent plane to the terrain at the specified position in the specified direction. | ||
| <!-- [object, direction, delta] call [[BIS_fnc_terrainGradAngle]]; --> | |s1= <!-- [object, direction, delta] call [[BIS_fnc_terrainGradAngle]]; --> | ||
|p1= object: [[Object]] or [[Position]] | |p1= object: [[Object]] or [[Position]] |
Revision as of 22:43, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Geometry
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object or Position
- direction: Number - direction where should be gradient calculated (compass direction)
- delta: Number - which stepsize should be used
- Return Value:
- Number - gradient angle in radians
Examples
Additional Information
- See also:
- getDirsurfaceNormal
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note