Hi there.
I'v got this piece of code that works ok in 1.074 but in the last update 1.077, when the box touch the floor, it disappears up
I'v been trying to fix it and get differents results but no one of them works correclty. I'v got some old examples and I wouldn't like to fix them all
Rem Project: SimpleODE
Rem Created: 29/09/2005 18:30:02
rem Inicializa DBPro
sync on : sync rate 60 : autocam off
rem Inicializa ODE
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
rem Crea un suelo
make object box 1,500,10,500
ode create static box 1
rem Crea un cubo basado en físicas
make object cube 100,50
position object 100,0,200,0
ode create dynamic box 100
rem configura la cámara
position camera 200,100,-200
point camera 0,-50,0
rem Bucle principal
do
`
rem Mensaje de usuario
set cursor 0,0 : print "ESPACIO = Eleva el objeto CONTROL = Rota el objeto"
`
rem Mueve el cubo de físicas
if spacekey()=1 then ode set linear velocity 100,0,40,0
if controlkey()=1 then ode set angular velocity 100,0.2,0.2,0.2
`
rem Controla la camara
control camera using arrowkeys 0,1,2
`
rem Actualiza las físicas
for odesteps=1 to 4 : ode update : next odesteps
`
rem Actualiza la pantalla
sync
`
rem Fin del bucle
loop
Cheers.