LuauDT | Triangulation Module, Destruction (RELEASE 1.1)

LuauDT_Logo

print("LuauDT")

What is LuauDT
----------------------------
LuauDT is a module built specifically to create 2D and 3D Delaunay Triangulation using a port of LuaRocks - Delaunay.

What are some uses of LuauDT
-----------------------------
With this module, you can create anything that would Delaunay Triangulation.
(e.g. Destruction Engine, Glass Shattering)

How do you download LuauDT
-------------------------------
You can download LuauDT at the GitHub page. (CLICK THE BLUE)

How to use
--------------------------------
3D:
To start, simply create a new script

Now, import the module downloaded from GitHub into ReplicatedStorage

Open your new script, and use the require() function to import all the function into your script

local LuauDT = require(game.ReplicatedStorage.LuauDT)

Now specify your part using either Triangulate3D or Triangulate3D_AutoTriangles

Triangulate3D (part, number of triangles, anchored, velocity)

local LuauDT = require(game.ReplicatedStorage.LuauDT)
local Delaunay = Luau.Triangulate3D(YourPart, 20, false, Vector3.new(0,0,100))

Triangulate3D_AutoTriangles (part)

local LuauDT = require(game.ReplicatedStorage.LuauDT)
local Delaunay = Luau.Triangulate3D(YourPart)

DTFX_GlassShattering (part, velocity)
Velocity needs to be a Vector3 value

local LuauDT = require(game.ReplicatedStorage.LuauDT)
local Delaunay = Luau.Triangulate3D(YourPart, CustomVelocity)

2D TUTORIAL WILL BE ADDED WHEN THE 2D FUNCTION IS FINISHED!

15 Likes

Could we please get a video of the module in action? I’m interested in the glass breaking part, and so I would want to know how to use it properly.

1 Like

Checkout release 1.1’s glass shattering effect, just released it!

1 Like

Hmm… how about a video for mobile currently users? :sweat_smile:

2 Likes

This seems cool. I am gonna try it when i have time.

1 Like