This is a Godot 3.x addon for simulated pre-fractured structural destruction.
- Performant code up to ~300 node structures
- Anchor points
- Small readable codebase
- Perform fracturing on a thread to remove lag and scale to larger graphs
Downloading this repo and copy the addons/glue
folder into your Godot 3.x project addons
folder. Enabled in your project settings and use.
This addon comes with libraries for windows using the Godot 3.x master branch API. If you need to build your own follow the guide found inside the glue/
directory.
I've added the glue_test.tscn to the scenes/ folder. I used this scene to make the YT vid, plus a massive wall which shows the current limits of the system. The controls are:
- W,A,S,D = fly around
- Left mouse button = Detach shape from body
- Right mouse button = Launch grenade
- R = Restart scene
- Enter = Toggle slow motion
- After you glue and produce a graph resource it must be saved to disk. A graph resource saved inside the scene seems to break stuff.
Glue is developed and maintained by Riordan Callil Ko-Fi