DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetCollisionBoxSize()

vector GetCollisionBoxSize ( vector min_max[2])
protected

См. определение в файле ConstructionBase.c строка 1574

1575 {
1576 vector boxSize = Vector(0, 0, 0);
1577
1578 boxSize[0] = Math.AbsFloat(min_max[1][0] - min_max[0][0]);
1579 boxSize[1] = Math.AbsFloat(min_max[1][1] - min_max[0][1]);
1580 boxSize[2] = Math.AbsFloat(min_max[1][2] - min_max[0][2]);
1581
1582 return boxSize;
1583 }
Определения EnMath.c:7
Определения EnConvert.c:119
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto float AbsFloat(float f)
Returns absolute value.

Перекрестные ссылки Math::AbsFloat() и Vector().

Используется в GetTriggerExtents(), IsColliding(), IsCollidingEx() и ItemFall().