Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

WaterBox Demo

An asset by Adisoreq
The page banner background of a mountain and forest
WaterBox Demo thumbnail image
WaterBox Demo thumbnail image
WaterBox Demo hero image

Quick Information

0 ratings
WaterBox Demo icon image
Adisoreq
WaterBox Demo

Playable Godot 4 demo project for the WaterBox addon.

Supported Engine Version
4.7
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
12 hours ago
Git URL
Issue URL

WaterBox Demo (godot-waterbox-demo)

This repository is a playable Godot 4 demo project for the WaterBox addon.

It shows how to configure a water volume, how buoyancy behaves with and without marker-based points, and how drag affects floating rigid bodies.

Purpose

Use this project as:

  • A reference setup for integrating WaterBox into your own game.
  • A sandbox for tuning water_density and water_drag.
  • A quick visual check for addon behavior after updates.

Requirements

  • Godot 4.x
  • 3D physics project using RigidBody3D

Compatibility note:

  • Tested on Godot 4.0.1.
  • It may work on other 4.x releases, but this is not guaranteed.

Quick Start

  1. Open this repository folder in Godot.
  2. Ensure plugin WaterBox is enabled:
    • Project > Project Settings > Plugins
  3. Run the project.

Default startup scene:

  • res://levels/sample_1.tscn

Demo Scenes

  • levels/sample_1.tscn

    • Multiple floating prefabs (floating_cube, floating_capsule)
    • Demonstrates general floating behavior with preconfigured buoyancy markers
  • levels/sample_2.tscn

    • Single RigidBody3D capsule with a local BuoyancyComponent
    • Good for testing marker-based setup in a minimal environment

WaterBox Setup Used In This Demo

Minimal node hierarchy:

  1. Node3D with script res://addons/waterbox/scripts/water_box.gd
  2. Child Area3D
  3. CollisionShape3D under Area3D

WaterBox tracks bodies entering the Area3D and applies:

  • Buoyancy force
  • Water drag damping

Project Structure

.
|-- addons/
|   `-- waterbox/                 # Addon plugin, scripts, prefabs, materials
|-- assets/                       # Demo materials and shaders
|-- docs/
|   |-- addon/
|   |   |-- installation.md
|   |   `-- api_reference.md
|   `-- demo/
|       `-- overview.md
|-- levels/
|   |-- sample_1.tscn
|   `-- sample_2.tscn
|-- project.godot
`-- README.md

Documentation Index

  • Addon installation: docs/addon/installation.md
  • Addon API: docs/addon/api_reference.md
  • Demo overview: docs/demo/overview.md

License

Distributed under the terms in LICENSE.

Playable Godot 4 demo project for the WaterBox addon.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
WaterBox Demo icon image
Adisoreq
WaterBox Demo

Playable Godot 4 demo project for the WaterBox addon.

Supported Engine Version
4.7
Version String
1.1.0
License Version
MIT
Support Level
community
Modified Date
12 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers