|Fdr Logging (firstdayreviews)||01.11.2015 12:08|
|For some reason whenever I enable IsActiveDirty to make a sound effect active, it just makes the sound keep playing over and over and over.
Im trying to make the sound only turn on while my object is moving, I've made the conclusion that that the index in relation to the refrence frame is what triggers the sound file to become active, so why oh why is mine staying on.
I've spent hours and hours on this comparing it to the scorpion and to the buffalo and other machines, copying the exact parts and xml lines and making them exactly the same index to xmls but It doesn't seem to work with cylinder sounds.
why are my sounds repeating instead of only becoming active upon movement, please help thanks!
|Emil Drefers (Unknown)||05.11.2015 17:38|
if you use the isActiveDirty flag the entry/object is updated in every frame.
As a result the sound will be played in every frame too.
You would have to find a solution where the object is only dirty if moved.
Note: Log in to post. Create a new account here.