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

Request: Decimation support in Unity bindings #56

Open
Andicraft opened this issue Sep 13, 2024 · 1 comment
Open

Request: Decimation support in Unity bindings #56

Andicraft opened this issue Sep 13, 2024 · 1 comment

Comments

@Andicraft
Copy link

Andicraft commented Sep 13, 2024

I absolutely love the high quality of colliders that CoACD is outputting, but they are a little unecessarily heavy vertex wise. I ripped out the C# bindings to make them work with Godot - which has V-HACD as a default collision generator, but with default settings that kind of suck. The CoACD results are however a lot more dense:

image
V-HACD - inaccurate, many more shells (21!) but low vert counts

image-1
CoACD - very accurate, only 8 shells - but too accurate for rounded surfaces.

Would love to see the decimation settings from the console executable exposed for this.

(technically I guess this is a request for Godot support in a roundabout way but hey)

EDIT: Okay, I realize now that this is more of a request to update the Unity bindings to the latest version.

@Andicraft
Copy link
Author

A lil gist of my hacky Godot implementation:

https://gist.github.com/Andicraft/ec28b8690c7d6cbb13bb4fe29e7a7645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant