- Home /
Area-Specific Particles and Sound
Hello again! I have a question about particles for a weather system. I would like it to snow when the player is in a certain area of the map, and not to snow on other parts of the map. I can get it to snow by attaching a cube and particle effect to the FPS controller, but it snows everywhere, and I cannot put cubes over the whole terrain because of the particle limit of Unity and the hard-limit of my GPU. Is there any way to get the snow to only happen within a certain area of the map? (Specifically one of Unity's "Terrain" GameObjects)
And I have a similar request for background music. I would like one song to play in one area, and another song in another area, but no matter what I try, I either end up with one world-wide song, two overlapping songs, or no music at all.
Probably a couple ways to accomplish this, in my game I have a large colliders (setup as triggers, ignored by raycasts) and those have a script that sets things based if the player is "in" them like $$anonymous$$imap.name, background music, ambient/fog light, someClass.DoSnow(true), etc.
Your answer
Follow this Question
Related Questions
Is it possible to have dynamically building snow on the terrain? 1 Answer
stop weather particles from entering buildings? 2 Answers
What's a simple way to have realistic, moving clouds? 4 Answers
Dynamic coloured area shader (galaxy sovereignty zones) 1 Answer
How to change a simple snow particle FX to generate a speed effect? 1 Answer