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

◆ GetMomentum()

float EntityAI::GetMomentum ( )
inlineprotected

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

240 {
241 return GetVelocity(this).Length() * dBodyGetMass(this);
242 }
proto native float Length()
Returns length of vector (magnitude)
proto native vector GetVelocity(notnull IEntity ent)
Returns linear velocity.
proto native float dBodyGetMass(notnull IEntity ent)

Перекрестные ссылки dBodyGetMass(), GetVelocity() и vector::Length().