Coder Social home page Coder Social logo

godot-destruction-plugin's Introduction

Godot Destruction Plugin Godot v4.0 GitHub

Addon for creating a destruction effect for meshes based on a segmented version.

demonstration.webm

Installation

For Godot 3 install and enable the Destruction plugin from the asset library.

For Godot 4 and above, download the addon from the releases and put the contents in the addons folder. It can then be enabled under plugin settings as usual.

Usage

  1. Install the Cell Fracture addon in Blender, join your mesh and use F3 to search for Cell Fracture. Set the Source Limit to how many RigidBodies you want in your game. (~5 โ€“ 20)
  2. Select everything, right click and select Set Origin > Origin to Center of Mass (Volume).
  3. Export to Godot as OBJ or GLTF file.
  4. Add a Destruction node to the intact node and set the Fragmented scene to the imported scene.
  5. Call destroy() to destroy the object.

Performance

The plugin is only tested in very small scenes.

License

Code licensed under the MIT license.

Marble texture licensed CC0 by 3DTextures, optimized for file size.

All other files licensed under CC0.

This project is REUSE compliant.

godot-destruction-plugin's People

Contributors

jummit avatar zachar3 avatar mgrigajtis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.