About phent_settype (ball, 0, PH_SPHERE); // disable the physics for this ball for a bit
When you register the physics entity again
phent_settype (ball, PH_RIGID, PH_SPHERE;
You must add again
Code:
phent_setmass (ball, 2, PH_SPHERE); // and its mass
phent_setfriction (ball, 60); // set the friction
phent_setdamping (ball, 25, 30); // set the damping
phent_setelasticity (ball, 85, 90); // set the elasticity
Because you lost this datas when you disable the physics