JV-ODE Physics Thread 5

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 5

About the sounds? they are the easy part of the engine!.

For the friction sound i got a looped friction sound from the web, then i calculate the perpendicular linear vel of the wheel, so if greater than a value a loop the sound, and if lower, i stop the sound.

For the collision, i just check for collision between bodies (chassis) every frame, and if i get a collision with enough speed, i play the sound ( i got it from some web too, hehe), and i don't play it again until i get a new no-collision -> collision.

Good Night for me now. Cheers, KuRi!