点击图片可看到更多讯息
开始使用于
- 游戏:
- 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