CBA_fnc_getVolume

Description

Return the volume of the bounding box of an object’s model.  The bounding box is retrieved using boundingBoxReal instead of boundingBox with visual clipping type for more precise measurements.

Parameters

_objectObject to calculate the volume of <OBJECT>

Returns

_volumeVolume of the bounding box <NUMBER>

Examples

private _volume = _vehicle call CBA_fnc_getVolume

Author

Anton

Close