武装突袭 Wiki
Advertisement
Introduced with Arma 3 version 0.50
  

点击图片可看到更多讯息

开始使用于

游戏:
Arma 3
版本:
0.50

描述

描述:
Returns a bounding box of given object in model coordinates space. This command is similar to boundingBox but gives more precise measurements.

基本句法

句法:
boundingBoxReal obj
参数:
obj: Object
返回值:
Array - An array with the extreme points of the model. Format [[x1,y1,z1],[x2,y2,z2]].

范例

范例1:
_bbr = boundingBoxReal vehicle player; _p1 = _bbr select 0; _p2 = _bbr select 1; _maxWidth = abs ((_p2 select 0) - (_p1 select 0)); _maxLength = abs ((_p2 select 1) - (_p1 select 1)); _maxHeight = abs ((_p2 select 2) - (_p1 select 2));

额外资讯

多人游戏:
-
也可以看看:
boundingBoxsizeOfboundingCenter

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Advertisement