GreenCrowDev / hoodie

Hoodie is a plugin for Godot Engine 4 that offers a visual scripting interface for generating procedural geometry.
MIT License
325 stars 14 forks source link

Support for collisions #6

Closed MathyFey closed 6 months ago

MathyFey commented 7 months ago

Howdy! This seems really interesting, I haven't had the opportunity to test it out myself yet, but I really wanted to ask. In the future are you going to add support for collisions? Maybe generating a collision shape from the mesh, that would be pretty neat.

excited to try this and thanks for making it o/

GreenCrowDev commented 7 months ago

Sorry for the late reply.

This is definitely a wanted feature and will be added soon.

Thank you for the report!

GreenCrowDev commented 6 months ago

It turns out you just need to use Create Trimesh Static Body to create a custom collision, like in this screenshot: immagine

The collider mesh will be the same as the generated mesh from the algorithm 😊