Buoyancy (Archimedes’ Principle)
An object in a fluid is pushed up by a force equal to the weight of the fluid it displaces.
Textbook model
Buoyancy F = ρ_fluid · V_submerged · g
compute buoyancy from the submerged volume and combine it with gravity and water drag.
Simplified game model
Pull toward the waterline with a spring and damp the velocity
pull the object toward the waterline like a spring and damp its velocity. Easy to tune, but density differences are hard to show.
The textbook model is also an idealization with simplified conditions; real phenomena have more factors.
Simulator
If the object is less dense than the fluid it floats, with (object density ÷ fluid density) of it under the surface.
Water is about 1000 kg/m³ (it changes slightly with temperature). Wood density varies a lot by species.
How games use it
Boats, rings and floating-crate puzzles.
More laws in this category
Sources
Checked: 2026-11-29