The script I have so far is posted on the bottom, so far the ball just drops from the sky and bounces and then sits still. What I want is that when you touch it with the gaurd model, it will move. How would I go about this? Thank you
//inside main()
ph_setgravity( earthgravity );
ph_selectgroup(1);
// Not inside main()
var earthgravity[3] = 0,0, -300;
action ball
{
phent_settype(my, ph_rigid, ph_sphere);
phent_setmass(my, 1, ph_sphere);
phent_setgroup(my,1);
phent_setelasticity(my, 61, 0);
phent_setfriction (my, 6);
}