The Buoyancy Toolkit is a code package for the Unity3d game engine that brings realistic buoyancy simulation to your project. Rigidbodies will float when submerged in fluid volumes of different densities and wave functions such as water pools or oceans with large waves. The shape and volume of one or more connected colliders will be taken into account to let the geometry follow the waves realistically. The toolkit is ideal for making anything float in water but can also be used to simulate the lift a balloon or airship experiences in the atmosphere. The toolkit is easy-to-use and does not require any scripting. Works with the Ocean Toolkit out-of-the-box.
- Realistic buoyancy simulation
- Surface waves if a wave function is specified (using a custom script, example provided)
- Weighting for straightforward tweaking of the buoyancy force
- Disable weighting and use realistic object properties (scale, mass, fluid density) to mimic real-life
- Works well with other rigidbody forces