2022-03-18... godot port of breakable glass

Поділитися
Вставка
  • Опубліковано 17 бер 2022
  • This is a Godot port of a great Unity Delaunay/Voronoi triangulation implementation (find the original at this link: github.com/OskarSigvardsson/u....
    Sorry for the poor video, I wanted to show this ASAP.
    The implementation used a lot of native CSharp features so this was much easier than I thought to port for Godot.
    I might wait for Godot 4 to release this though, as the adjustable Center of Mass variable would be really useful, and the Delaunay code has unhandled exceptions (see github.com/OskarSigvardsson/u...)
    One original thing that I made for this was a little function that generates Voronoi sites from rings of circles to get the site edges to "converge" at the center of the collision point. (In other words, it makes it look real nice.)
    I learned that from an ancient Blender video tutorial for the Fracture Cell addon ;)
  • Розваги

КОМЕНТАРІ • 4