BIS fnc boundingBoxCorner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (adding cat)
m (Text replacement - ";[ ]+ " to "; ")
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2oa
____________________________________________________________________________________________
|version1= 1.50


| arma2oa |= Game name
|game2= tkoh
|version2= 1.00


|1.51|= Game version
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| <pre>
|gr1= Object Manipulation
 
|descr= <pre>
/*
/*


Line 28: Line 32:
Example 1:
Example 1:
_corners = car call BIS_fnc_boundingBoxCorner;  
_corners = car call BIS_fnc_boundingBoxCorner;
Example 2:
Example 2:
_nearestCorner = [car, player] call BIS_fnc_boundingBoxCorner;
_nearestCorner = [car, player] call BIS_fnc_boundingBoxCorner;


*/
*/</pre>
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_boundingBoxCorner]]; --> |= Syntax


|p1= |= Parameter 1
{{Wiki|placeholder}}


| |= Return value
|s1= <!-- [] call [[BIS_fnc_boundingBoxCorner]] -->
____________________________________________________________________________________________


|x1= <code></code> |=
|r1=
____________________________________________________________________________________________


| |= See also
|x1=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Objects|{{uc:boundingBoxCorner}}]]
[[Category:Functions|{{uc:boundingBoxCorner}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:boundingBoxCorner}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:boundingBoxCorner}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:boundingBoxCorner}}]]
[[Category:Placeholder function]]

Latest revision as of 00:55, 8 August 2021

Hover & click on the images for description

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;

*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
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