hi,
im trying to make a toy petrol remote car with the engine phyiscs feature
i have pro.
ive connected the wheels to the body with vec_for_vertex and phcon_add(ph_wheel...)
but still when the car touce the ground all gets massed up...
what its wrong?
here is the code:

Code:
 function fright_wheel()
{
my.x -= 10;
phent_settype(my,ph_rigid,ph_sphere);
phent_setgroup(my,2);
phent_setmass(my,wheelmass,ph_sphere);
phent_setfriction(my,120);
phent_setdamping(my,20,20);
//phent_setelasticity(my,70,5);
fr_id = phcon_add(ph_wheel,my,rcc);
phcon_setparams1(fr_id,my.x,vector(0,0,1),vector(0,1,0));
phcon_setparams2(fr_id,vector(-40,40,0),nullvector,vector(0,0,0));

}

function fleft_wheel()
{
my.pan += 180;
my.x += 10;
phent_settype(my,ph_rigid,ph_sphere);
phent_setgroup(my,2);
phent_setmass(my,wheelmass,ph_sphere);
phent_setfriction(my,120);
phent_setdamping(my,20,20);
//phent_setelasticity(my,70,5);
fl_id = phcon_add(ph_wheel,my,rcc);
phcon_setparams1(fl_id,my.x,vector(0,0,1),vector(1,0,0));
phcon_setparams2(fl_id,vector(-45,90,0),nullvector,vector(90000,100,0));

}

function bright_wheel()
{

my.x -= 10;
phent_settype(my,ph_rigid,ph_sphere);
phent_setgroup(my,2);
phent_setmass(my,wheelmass,ph_sphere);
phent_setfriction(my,120);
phent_setdamping(my,20,20);
//phent_setelasticity(my,70,5);
br_id = phcon_add(ph_wheel,my,rcc);
phcon_setparams1(br_id,my.x,vector(0,0,1),vector(1,0,0));
phcon_setparams2(br_id,vector(-45,90,0),nullvector,vector(90000,100,0));

}

function bleft_wheel()
{
my.pan += 180;
my.x += 10;
phent_settype(my,ph_rigid,ph_sphere);
phent_setgroup(my,2);
phent_setmass(my,wheelmass,ph_sphere);
phent_setfriction(my,120);
phent_setdamping(my,20,20);
//phent_setelasticity(my,70,5);
bl_id = phcon_add(ph_wheel,my,rcc);
phcon_setparams1(bl_id,my.x,vector(0,0,1),vector(1,0,0));
phcon_setparams2(bl_id,vector(-45,90,0),nullvector,vector(90000,100,0));
}

function create_body()
{
var grav[3] = 0,0,-380;
var rccmass = 4;
// my.passable = on;
ph_setgravity(grav);
ph_setcorrections(30000,0.05);
phent_settype(my,ph_rigid,ph_poly);
phent_setgroup(my,2);
phent_setmass(my,rccmass,ph_poly);
phent_setfriction(my,100);
phent_setdamping(my,20,20);
//phent_setelasticity(my,40,5);

vec_for_vertex(flpos,my,flvex);
vec_for_vertex(frpos,my,frvex);
vec_for_vertex(blpos,my,blvex);
vec_for_vertex(brpos,my,brvex);

att_wheels();
}

function att_wheels()
{
fl_wheel = ent_create(tiremdl,flpos,fleft_wheel);
fr_wheel = ent_create(tiremdl,frpos,fright_wheel);
bl_wheel = ent_create(tiremdl,blpos,bleft_wheel);
br_wheel = ent_create(tiremdl,brpos,bright_wheel);
}