Hello, I got bored and decided to learn the physics engine, hehe. So I figured out you define phent inside of actions or to a entity through say ent create, but where do i put the ph objects. (ph_setgravity i think) Right now when i walk into my box it kinda stumbles then floats up, becuase i got no gravity im guessing, where do i define it? In another function? thanks..
Code:
action physics_box {
phent_settype( my, ph_rigid, ph_box );
phent_setmass ( my, 2.5, ph_box ); }