PiCode9560 / Godot-4-Concave-Mesh-Slicer

MIT License
134 stars 7 forks source link

2d concave polygon support? #5

Closed illogicalapple closed 6 months ago

illogicalapple commented 6 months ago

no idea how much of the code would need to be modified

PiCode9560 commented 6 months ago

You want to slice 2d concave polygons?

illogicalapple commented 6 months ago

yeah, just kinda hoping it wouldn't be too hard to do off this

PiCode9560 commented 6 months ago

It's probably easier to create it from scratch. Maybe you could try using geometry2D to do it. https://docs.godotengine.org/en/stable/classes/class_geometry2d.html https://www.youtube.com/watch?v=mnDsqD3S1YY

Also, I found this for godot 3 if you're interested: https://github.com/lupoDharkael/godot-sprite-slicing