Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Voronoi regions #1

Open
hiulit opened this issue Jul 15, 2019 · 3 comments
Open

Add Voronoi regions #1

hiulit opened this issue Jul 15, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@hiulit
Copy link
Owner

hiulit commented Jul 15, 2019

To have a better scattering.

D-zZ1v8XUAAg_Gf

We will need a way to create sprites and its respective collisions following this pattern.

@hiulit hiulit added the help wanted Extra attention is needed label Jul 15, 2019
@Xrayez
Copy link

Xrayez commented Jul 15, 2019

I think this could be achieved via Delaunay triangulation which should be available in 3.2. 😉
godotengine/godot#29127.

Delaunay_triangulation relationship with the Voronoi diagram.

@hiulit
Copy link
Owner Author

hiulit commented Jul 15, 2019

That looks amazing! Thanks! We'll wait for 3.2 then ;)
I would still need help though, hehe!

Btw, I've just realized that while researching how to create polygons out from sprites I came across this project that it turns out it's yours! https://github.com/Xrayez/godot-mesh-instance-collision-2d

@Xrayez
Copy link

Xrayez commented Jul 15, 2019

Yeah, I got notified when you starred my project and then I've noticed this. 🙂

I have my own ecosystem of destructible stuff so I'm not sure whether I'd contribute, but always nice to see destructible stuff in Godot, perhaps this would be useful for some destructible parts that should truly break into pieces (like glass), so we'll see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants