Using collision detection to fire a sound

Topics: User Forum
Jul 10, 2008 at 9:47 AM
I've started using farseer in my project and everything is running great. My question is how would I use farseer's collision detection to play a sound when the object is hit by another object? It has something to do with the collisionhandler but I'm lost as to how to use it.
Coordinator
Jul 15, 2008 at 11:24 AM
Correct, use the collision handler, and attach Tags (for identifying your geoms) to your geom objects so when they come thru the collion event you can determine what sounds to play.