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

◆ EOnSimulate()

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

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

334 {
335 if (!IsProxy())
336 {
337 if (EngineIsOn())
338 {
339 vector mat[4];
340 dBodyGetWorldTransform(this, mat);
341 vector pos = mat[3] + VectorToParent(PropellerGetPosition());
342
343 if (GetGame().GetWaterDepth(pos) < -0.2)
344 EngineStop();
345 }
346 }
347 }
bool IsProxy()
Определения Hand_Events.c:65
proto native CGame GetGame()
proto native void dBodyGetWorldTransform(notnull IEntity body, out vector matrix[4])

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