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

◆ IsSpaceFor()

bool IsSpaceFor ( vector size)
protected

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

2497 {
2498 array<Object> objs = {};
2499 if (g_Game.IsBoxCollidingGeometry(GetWorldPosition() + Vector(0, size[1] * 0.5 + 0.1, 0), GetDirection().VectorToAngles(), size, ObjIntersect.View, ObjIntersect.Geom, {this}, objs))
2500 {
2501 foreach (Object obj : objs)
2502 {
2503 if (dBodyGetInteractionLayer(obj) == PhxInteractionLayers.ITEM_LARGE)
2504 return false;
2505 }
2506 }
2507 return true;
2508 }
DayZGame g_Game
Определения DayZGame.c:3942
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().