Disabling the movement script and sounds

Hi, i’ve realised that if you dont disable the movement script before playing a sound in the collision script that this sound wont play. I tried while boosting and without boosting and the sounds just dont play. When I disable the movement script by code the sounds works thought. My scripts are the exact same as in the video and I believe this would also happen to Rick if he were to also decide to not disable the script, any idea why?

It’s probably because the Movement script stops the audio source on every frame if you are not pressing the space key. If you don’t disable the Movement script, it will just stop whatever sound your collision is trying to play

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms