Developer postOriginal post (opens in a new tab)

Devlog 47: Bottle of water

Watch on YouTube

Realistic wobbles and sloshes for maximum hydration!

The water is a lie. There is actually no water in the bottle. It's all drawn in the shader using the bottle mesh only. The splashes and all are also fake.

Mass and center of gravity are dynamically calculated based on the amount of water contained. A partially filled 1 L, 100 g bottle is most stable when filled to exactly 231.662 ml.