ok new question
why does the sphere bounces when I press the spacekey
sync on: sync rate 60:hide mouse
make camera 1
position camera 1,0,15,-1000
ode start
ode set world gravity 0,-20,0
ode set world step 0.05
ode set world erp (0.2)*2.5
ode set world cfm (10^-5)*2.5
`floor object
make object box 1,5000,10,5000
color object 1, rgb(255,0,0)
ode create static box 1
ode set contact fdir1 1,20
`dynamic cube
make object cube 2,50
color object 2, rgb(255,100,0)
position object 2,0,30,-500
ode create dynamic box 2
ode set contact fdir1 2,10
ode set body mass 2,10
make object cube 3,50
position object 3,0,80,-500
ode create dynamic box 3
ode set contact fdir1 3,10
ode set body mass 3,30
make object cube 4,50
position object 4,0,130,-500
ode create dynamic box 4
ode set contact fdir1 4,10
make object sphere 5,50
position object 5,0,30,-700
ode create dynamic box 5
ode set contact fdir1 5,20
ode set body mass 5,20
do
print screen fps()
if spacekey()
ode add force 5,0,0,4,0,0,0
endif
ode update
sync
loop