[ODE] Contact sound generation

Jon Watte hplus-ode at mindcontrol.org
Wed Nov 3 15:02:37 MST 2004


You can estimate it as the relative velocities of the colliding 
bodies, dotted with the contact normal, times the weight of the bodies.

Note that you WILL need filtering, as there's typically a number of 
contacts between two bodies. And you only want to play sounds for 
contacts between body pairs that are "new" -- else, objects at rest 
would keep generating the same sounds (although very silently).

Cheers,

		/ h+

-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Will
Thimbleby
Sent: Wednesday, November 03, 2004 2:46 PM
To: ode at q12.org
Subject: [ODE] Contact sound generation


Hi,

I'm wanting to generate sounds on collisions. I can easily create the 
sounds as I generate the contact joints, but how can I find out how 
loud to create the sounds? Is there some way to generate sounds based 
on the force applied at a contact joint?

thanks --Will

_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode




More information about the ODE mailing list