BIS fnc boundingCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 22: Line 22:
|x1= <code>[[vehicle]] [[player]] [[call]] [[BIS_fnc_boundingCircle]];</code>
|x1= <code>[[vehicle]] [[player]] [[call]] [[BIS_fnc_boundingCircle]];</code>


|seealso= [[boundingBox]], [[boundingBoxReal]]
|seealso= [[boundingBox]] [[boundingBoxReal]]
}}
}}

Revision as of 23:39, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns size of bounding circle (calculated from X and Y coordinates). This is actually the 2D horizontal diagonal length of the boundingBox.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
object call BIS_fnc_boundingCircle
Parameters:
object: Object
Return Value:
Number

Examples

Example 1:
vehicle player call BIS_fnc_boundingCircle;

Additional Information

See also:
boundingBox boundingBoxReal

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