A dynamic ripple effect system for Unity that visualises water surface interaction through both object collisions and mouse input. This system is ideal for simulations, stylised water surfaces, or interactive environments.
RippleShowcase.mp4
- Dynamic ripple trails following moving objects, such as boats trials.
- Ring ripples triggered by mouse clicks, ideal for user mouse interaction.
- Simulates environmental raindrops using randomised UV inputs.
- Used for static floating objects like boats that floating up and down.
- Object Collision Ripples
- Mouse Input Ripples
- Boat Movement control
- Boat Floating Control
Drag and drop ObjectTriggeredRippleWaterPlane prefab.
- Ripples are triggered when the object enters the defined
waterTrigger. The ripple’s centre is derived from a downward raycast that collectstextureCoordfrom the collision with the water plane. - Optional buoyancy behaviour moves the object up with ripple peaks.
- Drag and drop RaindropSurface prefab.
- Left click on mouse, a ray is cast from the screen. If it hits the water surface (layer
"Water"), it triggers ripples.