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

◆ GetCenter()

vector IEntity::GetCenter ( )
inlineprivate

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

1371 {
1372 if ( MemoryPointExists("ce_center") )
1373 {
1374 //Print("CE_CENTER found");
1375 return ModelToWorld( GetMemoryPointPos("ce_center") );
1376 }
1377 else
1378 {
1379 //Print("CE_CENTER DOING A BAMBOOZLE => not found");
1380 return GetPosition() + Vector(0, 0.2, 0);
1381 }
1382 }
vector ModelToWorld(vector modelPos)
Определения Object.c:876
proto native vector GetPosition()
Retrieve position.
proto native bool MemoryPointExists(string memoryPoint)
proto native vector GetMemoryPointPos(string memoryPointName)
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки GetMemoryPointPos(), GetPosition, MemoryPointExists(), ModelToWorld() и Vector().