From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
-
Checks if a position lies within an angle sector.
- Execution:
- call
- Groups:
- Geometry
Syntax
- Syntax:
- [center, centerAngle, sectorWidth, position] call BIS_fnc_inAngleSector
- Parameters:
- center : Array - center position
- centerAngle : Number - defines the center angle of the sector
- sectorWidth: Number - defines the width of the sector in degrees
- position: Array - the position which should be checked
- Return Value:
- Boolean - true if the position lies within the defined sector
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_isInFrontOf
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