BIS fnc terrainGradAngle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=") |
||
Line 18: | Line 18: | ||
|p3= delta: [[Number]] - which stepsize should be used | |p3= delta: [[Number]] - which stepsize should be used | ||
| [[Number]] - gradient angle in radians | |r1= [[Number]] - gradient angle in radians | ||
|x1= <code>_radGrad = [<nowiki/>[[getPos]] [[player]], [[getDir]] [[player]]] [[call]] [[BIS_fnc_terrainGradAngle]];</code> | |x1= <code>_radGrad = [<nowiki/>[[getPos]] [[player]], [[getDir]] [[player]]] [[call]] [[BIS_fnc_terrainGradAngle]];</code> |
Revision as of 14:35, 10 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