SkillAgentSearch skills...

Dynagon

Dynamically generates polygon meshes in Unity.

Install / Use

/learn @lanius/Dynagon
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Dynagon

Dynamically generates polygon meshes in Unity. It implements 2D/3D Delaunay triangulation.

Demo

Dynagon demo

Usage

Drop Dynagon folder into Assets of the project.

Can create meshes from vertices:

using UnityEngine;
using System.Collections.Generic;
using Dynagon;

var vertices = new List<Vector3>() {
    new Vector3(0f, 1f, 0f),
    new Vector3(0f, -0.3f, 0.9f),
    new Vector3(0.8f, -0.3f, -0.5f),
    new Vector3(-0.8f, -0.3f, -0.5f)
};

Factory.Create(vertices);

Or separately, can triangulate and create a polygon:

var triangles = Triangulator3D.Triangulate(vertices);
new Polygon3D(new GameObject(), triangles).Build();

See samples for more details.

View on GitHub
GitHub Stars67
CategoryDevelopment
Updated8mo ago
Forks13

Languages

C#

Security Score

87/100

Audited on Jul 31, 2025

No findings