Delaunator-GDScript icon indicating copy to clipboard operation
Delaunator-GDScript copied to clipboard

The "Start a new discussion" link is dead

Open DingboDingboDingbo opened this issue 2 years ago • 4 comments

I was having trouble getting the code to run in the Godot 4 alpha, and since it's not reasonable to start a new issue for that, I was hoping to see what else I could do! The link currently takes me to a 404 page

DingboDingboDingbo avatar Feb 06 '22 01:02 DingboDingboDingbo

https://docs.godotengine.org/en/stable/classes/class_geometry.html#class-geometry-method-triangulate-delaunay-2d

DrAlta avatar Feb 06 '22 08:02 DrAlta

For 4 that would be https://docs.godotengine.org/en/latest/classes/class_geometry2d.html#class-geometry2d-method-triangulate-delaunay

DrAlta avatar Feb 06 '22 08:02 DrAlta

I'm actually trying to get the voronoi representation, and am just very confused as to why this doesn't work in Godot 4. I opened the example in Godot 4. Then I switched to the "Packed" classes before posting here. If you do that, and then adjust the demo function names to not be the same as the booleans (draw_triangles, draw_voronoi_cells, etc.), and set it to draw the voronoi cells it will go out of bounds at some point.

Maybe I should be moving this to its own issue? It just feels improper to do so due to the fact that this isn't meant to be used in Godot 4.

DingboDingboDingbo avatar Feb 06 '22 14:02 DingboDingboDingbo

I haven't had time to try Godot 4, but maybe it has something to do with this? https://github.com/hiulit/Delaunator-GDScript/issues/5

hiulit avatar Mar 13 '23 11:03 hiulit