Fluid Simulation for Video Games (part 9)

This is a series on fluid simulation for games. This article describes how to approximate buoyant & gravitational forces on a body immersed in a varying density fluid. Bodies immersed within the fluid float or sink depending on mass of fluid displaced.
Authored by Dr. Michael J. Gourlay Last updated on 09/28/2016 - 15:57
For more complete information about compiler optimizations, see our Optimization Notice.