1 Matching Results
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.
For more complete information about compiler optimizations, see our Optimization Notice.