BIS fnc boundingBoxCorner: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= |seealso= }} ") |
Lou Montana (talk | contribs) m (Text replacement - ";[ ]+ " to "; ") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1. | |version1= 1.50 | ||
|game2= tkoh | |game2= tkoh | ||
Line 12: | Line 12: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| <pre> | |descr= <pre> | ||
/* | /* | ||
Line 32: | Line 32: | ||
Example 1: | Example 1: | ||
_corners = car call BIS_fnc_boundingBoxCorner; | _corners = car call BIS_fnc_boundingBoxCorner; | ||
Example 2: | Example 2: | ||
Line 49: | Line 49: | ||
|seealso= | |seealso= | ||
}} | }} | ||
Latest revision as of 00:55, 8 August 2021
Description
- Description:
/* Description: Returns position of all four bounding box corners OR Returns position of the nearest corner to the given position Parameter(s): _this: OBJECT - object with bounding box OR _this: ARRAY in format: 0: OBJECT - object with bounding box 1: ARRAY or OBJECT - position for which the nearest corner is returned Returns: ARRAY in format [pos1, pos2, pos3, pos4] - 4 corners of the bounding box OR ARRAY in format [x,y,z] - position of the nearest corner Example 1: _corners = car call BIS_fnc_boundingBoxCorner; Example 2: _nearestCorner = [car, player] call BIS_fnc_boundingBoxCorner; */
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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