JV-ODE Physics Wrapper

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Wrapper

i think that the linear and angular dumping is better doing this:

dumpfactor# = 0.8 ; (value between 0-1)
vx# = dbodygetlinearvelx(b)
vy# = dbodygetlinearvely(b)
vz# = dbodygetlinearvelz(b)
dbodysetlinearvel(b,vx#*dampfactor#,vy#*dampfactor#,vz#*dampfactor#)

And the angular the same but using getangular and setangular...

I use them in my car demo and then i set the dumpfactor# as i need.