I'm currently making a platform game, where a platform will play a sound when the player jumps on it. Unfortunately, testing for collision between the player and the object in question doesn't actually work, even with the player on or in the platform. I'd also like to add a "crumble away" effect, but that's easy enough to do.
In short: I want to have a platform, say, "E", that when touched by the player, plays a noise, and I want this behaviour to work even if I copy and paste "E" throughout the level. What's the best way to do this?(Checking to see if the player is on the ground and within the bounds of the object works fine if there's only one, but fires constantly when there are multiple ones)