Skip to main content

Fluid physics

Greetings! Version 2.19.0 of the ScrewBox engine has just been released. This version adds support for simple fluid physics.

fluids

To make something fluid, just add a FluidComponent to the entity you want it to be. To make the fluid show up, add a FluidRenderComponent and pick your colors to make water, lava, or anything else you want. Physics entities can swim in the fluid by adding a FloatComponent.

Future will tell what features will be added to the fluid physics. In the current state, the fluids are quite rudimentary. Combining the fluids with a reflection is definitely on my to-do list.

A fresh start

A few weeks ago I decided to add some real documentation to ScrewBox, the project I have worked on for nearly four years now. I used this opportunity to register screwbox.dev as new home address for the project. Hopefully anybody will have a few good hours or days working with ScrewBox. Stay tuned for some upcoming content updates.