ph_setgravity(vector(0,0,-386));
tank_base = ent_create("models\\m60_base.mdl", vector(0,0,500), move_tank);
wait(1);
tank_turret = ent_create("models\\m60_turret.mdl", tank_base.x, move_turret);
wait(1);
phent_settype (tank_base, PH_RIGID, PH_SPHERE); // set the physics entity type
phent_setmass (tank_base, 300, PH_SPHERE); // and its mass
phent_setfriction (tank_base, 90); // set the friction
phent_setdamping (tank_base, 5, 5); // set the damping
phent_setelasticity (tank_base, 3, 2); // set the elasticity