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

◆ Create() [2/2]

static proto PhysicsBlock PhysicsBlock::Create ( notnull IEntity ent1,
notnull IEntity ent2 )
staticprivate

Disables collisions between two entities by creating PhysicsBlock. Both entities must exist in the same world. Block must be removed manually on cleanup.

Аргументы
ent1Entity of the non-colliding pair
ent2Other entity of the non-colliding pair
Возвращает
PhysicsBlock disabling collision while it exists