I found this code on the forum, do you think I can simply remplace the box of the wheel by a 3D model of wheel and remplace the box by a 3D model of a car without wheel?
`%ProjectTitle%
`======================
`©%Author%
`======================
`Main Source File
sync on
sync rate 60
autocam off
color backdrop 0, 0
set text font "Arial"
set text size 12
set text transparent
position camera 5,40,-40
point camera 0,0,0
phy start
`floor
make object box 1,5000,1,5000
phy make rigid body static box 1
`car
`body
make object box 2,1.0,0.5,3.0
`wheel mesh
make object cube 3,1.0
make mesh from object 1,3
`add wheel limbs
`br
add limb 2,1,1:color limb 2,1,rgb(255,0,0)
`bl
add limb 2,2,1:color limb 2,2,rgb(0,255,0)
`fr
add limb 2,3,1:color limb 2,3,rgb(0,0,255)
`fl
add limb 2,4,1:color limb 2,4,rgb(255,255,0)
`delete unwanted objects/mesh
delete object 3
delete mesh 1
`position wheels
`br
offset limb 2,1,-1.0,0.0,1.5:link limb 2,0,1
`bl
offset limb 2,2,1.0,0.0,1.5:link limb 2,0,2
`fr
offset limb 2,3,-1.0,0.0,-1.5:link limb 2,0,3
`fl
offset limb 2,4,1.0,0.0,-1.5:link limb 2,0,4
`y rotate object to face to the right
rotate limb 2,0,0.0,-90.0,0
`position object
position object 2,0,5,0
`make the car
phy create vehicle 2
phy add vehicle body 2,3.0,1.0,1.0,0.0,0.0,0.0
phy add vehicle wheel 2,1,1.0,-0.40,1.5,0.7,0.2,0,1
phy add vehicle wheel 2,2,1.0,-0.40,-1.5,0.7,0.2,0,1
phy add vehicle wheel 2,3,-1.0,-0.40,-1.5,0.7,0.2,1,1
phy add vehicle wheel 2,4,-1.0,-0.40,1.5,0.7,0.2,1,1
`car properties
phy set vehicle static friction 2,5.0
phy set vehicle dynamic friction 2,1.0
phy set vehicle max motor 2,400.0
phy set vehicle steering delta 2,0.1
phy set vehicle max steering angle 2,0.3
phy set vehicle auto 2,1
`build the car
phy build vehicle 2
do
mousecontrol(0.2)
phy update
sync
loop
function MouseControl(Speed as float)
xrotate camera camera angle x()+mousemovey()
yrotate camera camera angle y()+mousemovex()
if mouseclick()=1 then move camera Speed
if mouseclick()=2 then move camera (0-Speed)
r=mousemovex()
r=mousemovey()
endfunction
thanks for the help