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

◆ CreateDynamic() [2/2]

static proto Physics Physics::CreateDynamic ( notnull IEntity ent,
float mass,
int layerMask = 0xffffffff )
staticprivate

Creates a dynamic physics body from geometry embedded in attached VObject. If there is not any, false is returned.

Аргументы
entEntity that will be associated with the physics body
massBody mass
layerMaskBit mask of layers that is ANDed with layers in object geometry. Use 0xffffffff if you want to keep it unmodified