Detecting when a sound has stopped - is this possible?
Posted: Mon Sep 29, 2008 10:17 pm
I can't seem to find anything that will help me determine when a sound I am playing has finished - does anyone know a way to do this?
Basically I am playing a sound when two objects collide - but because collision detection occurs quickly, the beginning of the sound is constanly repeating. I would prefer to only repeat the sound once the first playing of it has finished.
if anyone has done something like this I would love to know about it
Basically I am playing a sound when two objects collide - but because collision detection occurs quickly, the beginning of the sound is constanly repeating. I would prefer to only repeat the sound once the first playing of it has finished.
if anyone has done something like this I would love to know about it