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

◆ EOnSimulate()

override void BoatScript::EOnSimulate ( IEntity other,
float dt )
inlineprotected

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

386 {
387 if (!IsProxy())
388 {
389 if (EngineIsOn())
390 {
391 vector mat[4];
392 dBodyGetWorldTransform(this, mat);
393 vector pos = mat[3] + VectorToParent(PropellerGetPosition());
394
395 if (g_Game.GetWaterDepth(pos) < -0.2)
396 EngineStop();
397 }
398 }
399 }
DayZGame g_Game
Определения DayZGame.c:3942
bool IsProxy()
Определения Hand_Events.c:65
proto native void dBodyGetWorldTransform(notnull IEntity body, out vector matrix[4])

Перекрестные ссылки dBodyGetWorldTransform(), g_Game и IsProxy().