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

◆ IsSpaceFor()

bool IsSpaceFor ( vector size)
protected

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

2513 {
2514 array<Object> objs = {};
2515 if (g_Game.IsBoxCollidingGeometry(GetWorldPosition() + Vector(0, size[1] * 0.5 + 0.1, 0), GetDirection().VectorToAngles(), size, ObjIntersect.View, ObjIntersect.Geom, {this}, objs))
2516 {
2517 foreach (Object obj : objs)
2518 {
2519 if (dBodyGetInteractionLayer(obj) == PhxInteractionLayers.ITEM_LARGE)
2520 return false;
2521 }
2522 }
2523 return true;
2524 }
DayZGame g_Game
Определения DayZGame.c:4074
PhxInteractionLayers
Определения DayZPhysics.c:2
Определения ObjectTyped.c:2
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
proto native int dBodyGetInteractionLayer(notnull IEntity ent)

Перекрестные ссылки dBodyGetInteractionLayer(), g_Game и Vector().

Используется в IsSpaceForCircle() и IsSpaceForOven().