This is the new box code
var earthgravity[3] = 0,0, -386;

action phys_obj
{


ph_setgravity(earthgravity);
phent_settype(my,PH_RIGID,ph_box);
phent_setmass(my,3,ph_box);
phent_setfriction(my,30);
phent_setelasticity(my,50,10);
phent_setdamping(my,20,20);
};


risult: the box don't movie or is passable, if I walk agaist him, it does not movie or I remain stock into it.
I need a template for some basic use of the P engine.

edit: with the polygon option checked the code (one box) does work

Last edited by Mondivirtuali; 07/18/07 23:02.