BIN fnc getGridCollisions: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "↵↵{{Wiki|placeholder}} {{Feature|arma3contact}} ↵↵|s1= <!--" to " </pre>  {{Wiki|placeholder}} {{Feature|arma3contact}}   |s1= <!--")  | 
				||
| Line 26: | Line 26: | ||
	private _bboxY = SIZE + _cellSizeYHalf;\  | 	private _bboxY = SIZE + _cellSizeYHalf;\  | ||
	private _bboxZ = SIZE + _cellSizeZHalf;  | 	private _bboxZ = SIZE + _cellSizeZHalf;  | ||
</pre>  | |||
{{Wiki|placeholder}} {{Feature|arma3contact}}    | {{Wiki|placeholder}} {{Feature|arma3contact}}    | ||
Latest revision as of 16:24, 17 April 2024
Description
- Description:
 #define BUSH_WIDTH 2 #define BUSH_HEIGHT 2 #define TREE_TRUNK_WIDTH 0.5 #define TREE_TRUNK_HEIGHT 4 #define GET_POS\ private _pos = _x modelToWorld (boundingcenter _x vectormultiply -1); #define GET_BBOX\ private _bbox = boundingboxreal _x;\ private _bboxX = abs ((_bbox select 0 select 0) - (_bbox select 1 select 0)) / 2 + _cellSizeXHalf*0;\ private _bboxY = abs ((_bbox select 0 select 1) - (_bbox select 1 select 1)) / 2 + _cellSizeYHalf*0;\ private _bboxZ = abs ((_bbox select 0 select 2) - (_bbox select 1 select 2)) / 2 + _cellSizeZHalf*0; //_bboxZ = (abs (_bbox select 0 select 2) + abs (_bbox select 1 select 2)) + _cellSizeZHalf*0; #define GET_BBOX_FIXED(SIZE)\ private _bboxX = SIZE + _cellSizeXHalf;\ private _bboxY = SIZE + _cellSizeYHalf;\ private _bboxZ = SIZE + _cellSizeZHalf;
- Execution:
 - call
 - Groups:
 - Movement
 
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