Godot-Slicer

Godot-Slicer is a module for the Godot Engine, porting Ezy-Slicer to allow dynamic slicing of convex meshes. Built in C++, it provides a Slicer node to trigger slices of Mesh geometry using a plane.

https://github.com/cj-dimaggio/godot-slicer

Preview Image

Preview

Godot-Slicer: Dynamic Mesh Slicing in Godot

Godot-Slicer is a Godot Engine module that enables the dynamic slicing of convex meshes. As a port of the Ezy-Slicer Unity plugin, it offers a way to cut meshes along a plane within the Godot environment. This module is built in C++ for performance and integrates seamlessly with Godot's scene structure.

Key Features

  • Dynamic Slicing: Allows real-time slicing of convex meshes during gameplay.
  • Ezy-Slicer Port: Based on the proven Ezy-Slicer plugin, ensuring reliability and functionality.
  • C++ Module: Implemented as a native module for optimal performance.
  • Slicer Node: Introduces a Slicer node that can be added to Spatial nodes.

How to Use

To use Godot-Slicer, you must first build it into your Godot Engine compilation. This involves cloning the repository into the modules folder of your Godot source and compiling the engine. Once compiled, a Slicer node becomes available, enabling you to slice mesh geometry. The provided code snippets demonstrate how to set up sliceable RigidBody nodes and trigger slicing events. An example project further illustrates practical usage.

This module is suitable for projects needing dynamic mesh manipulation, such as destruction effects or procedural geometry modification.

Resource Details

library

cj-dimaggio



3.2.1