Rain Collisions + Weather System
- KB
- Mar 13
- 1 min read
Unity | C# | VFX Graph
2024-2025
Feature-rich Unity custom weather system made for Friday Sundae.
A set of scripts, custom VFX and Playables designed to let developers control weather during gameplay and cutscenes.
Timeline + Previews

For use in cutscenes, the weather system can be run from the timeline - including previewing changes in weather by scrubbing the timeline, even in Editor mode.
Rain Collisions
Script and VFX graph for performant rain particles that don't fall through ceilings or roofs. This effect was achieved by generating heightmaps of the scene, which serve as a guide for the particles to 'collide' with terrain.
Being run on the GPU rather than the CPU and not calculating collider-based collisions, my method is significantly more performant than using Unity's built-in particle collisions.
Custom Listeners
Custom listeners designed to hook into any component to create weather-specific changes.
Specific listeners set up for audio (e.g. Rain, thunder sounds) and VFX (e.g. Puddles, lightning flashes) changes.
Makes use of UnityEvents on weather start and end, letting any component react to changes in weather.