proto native void dBodyActive(notnull IEntity ent, ActiveState activeState)
proto native void dBodyDestroy(notnull IEntity ent)
Destroys attached physics body.
proto bool dBodyCreateDynamicEx(notnull IEntity ent, vector centerOfMass, float mass, PhysicsGeomDef geoms[])
proto native void dBodyDynamic(notnull IEntity ent, bool dynamic)
proto native bool dBodyIsSet(notnull IEntity ent)
Has the entity attached physics body?
void EditorAttribute(string style, string category, string description, vector sizeMin, vector sizeMax, string color, string color2="0 0 0 0", bool visible=true, bool insertable=true, bool dynamicBox=false)
proto native void dBodySetMass(notnull IEntity body, float mass)
proto native vobject GetObject(string name)
Loads object from data, or gets it from cache. Object must be released when not used.