Water for Creatures

The buoyancy system calculates how much of an object is submerged in water using Monte Carlo modelling and applies an upward force to counteract gravity. This allows creatures and their body parts to float naturally in simulated water.

The system asses submersion by randomly sampling points across the object’s volume and checking how many fall below the water’s surface. If the object is partially submerged, the system estimates the submerged volume and applies the appropriate buoyant force at the centre of buoyancy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *