function cars_tyre()
{
set(my, SHADOW);
phent_settype (my, PH_RIGID, PH_SPHERE);
phent_setmass (my, 10, PH_SPHERE);
phent_setgroup (my, 2);
phent_setfriction (my, 90);
phent_setdamping (my, 0, 0); //40 5
phent_setelasticity (my, 0, 0); //30 10
wheel[index] = phcon_add (PH_HINGE, player, my);
phcon_setparams1 (wheel[index], my.x, vector (0, 1, 0), nullvector);
phcon_setparams2 (wheel[index], vector (-360, 360, 0), nullvector, nullvector);
index += 1;
}