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

◆ GetMomentum()

float EntityAI::GetMomentum ( )
inlineprotected

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

172 {
173 return GetVelocity(this).Length() * dBodyGetMass(this);
174 }
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().