I have tried almost every way of making the physics to work. But I don't get what’s wrong. I have made a ball and attached a action to it:
var earthgravity[3] = 0,0, -386;
action phys
{
phent_enable(my, 1);
ph_setgravity(earthgravity);
phent_settype(my, PH_RIGID, PH_ball);
}
When I run this script I get an error message that says that none of the ph: s in the action exists. So I wonder if I must include some file or perhaps start the physics engine to work. Please help!
\\Niklas