dweremeichik / godot_autopoly_plugin

A Godot Engine plugin that automatically triangulates Polygon2D nodes - making mesh deformation much easier!
20 stars 3 forks source link

Auto Polygon2D Triangulation

Icon

Auto Polgon2D Triangulation is a plugin for the Godot Engine. It is designed to make 2D mesh deformation significantly faster and less painful by triangulating polygons (mesh) for you.

How to install

Official installation instructions may be found here. You may either install through the Godot Asset Library, or you can download a zip file directly from GitHub.

How to use

demonstration

To use this plugin simply enable it, you can find the official instructions here. When you add or remove a vertex (internal or external) in the Polygon2D UV Editor, your internal polygons will be automatically triangulated for you.

Note: When adding an internal vertex, the polygons will be generated, but the Editor does not update immediatly. You can work around this by clicking on another tab of the editor, such as "UV" or by adding another internal vertex. This is a bug with the Editor.

License

This plugin is MIT licensed. The license file is located at addons\auto_polygon2d_triangulation\LICENSE.

Special Thanks

Special thanks to @Vic Ben for creating the original C# tool script that this plugin is based on.