Step 7: The Final Simulation
We finally finished the project, or at least out plan b. The additions mentioned in previous blog post about adding more water-like materials, implementing a moving water tap and simulating foam were all added to the final version. The water material was created by using a transparent render mode and choosing a light blue color. The material would also reflect the sky box making it look more like soap bubbles. The moving water tap was easily implemented by adding a script. The most challenging part was to implement the foam effect. By calling a function on each sphere from the parent class whenever a sphere had peaked, we could change the color of the material to white and the gradually fade back to its original color. Due to time constraints, there were a lot of improvement that we didn't have time to implement. One of those improvements was to have a timer that faded the color of the sphere instead of it being faded with the height. This would make the foam last longer and pr...