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

◆ dBodyCreateStaticEx()

proto bool dBodyCreateStaticEx ( notnull IEntity ent,
PhysicsGeomDef geoms[] )

Creates RigidBody from custom made geometries. The geometries are deleted when rigid body is destroyed

Аргументы
geomsarray of custom made geometries
autoptr PhysicsGeomDef geoms[] = {PhysicsGeomDef("", dGeomCreateBox(size), "material/default", 0xffffffff)};
dBodyCreateStaticEx(this, geoms);
Определения EnPhysics.c:32
proto native dGeom dGeomCreateBox(vector size)
Creates box geometry.
proto bool dBodyCreateStaticEx(notnull IEntity ent, PhysicsGeomDef geoms[])