I have a scenario where I need to play a sound every time the player collides with ANY object in the room, not just a particular one. I have a code that executes repeatedly and accomplishes this perfectly, but only with specific objects.
Is there a way to achieve the same result with every object in the room using the IsCollidingWithObject function? That way, I can write a single function that works globally in every case.
PPCollision module have a function named "CWithAnything" that does exactly this, but I have problems with the module (maybe because it's old).
Thanks!
Is there a way to achieve the same result with every object in the room using the IsCollidingWithObject function? That way, I can write a single function that works globally in every case.
PPCollision module have a function named "CWithAnything" that does exactly this, but I have problems with the module (maybe because it's old).
Thanks!