Skip to content

About Collider #131

Answered by mlavik1
sayyes304 asked this question in Q&A
Nov 4, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @sayyes304 !

So if I understand you correctly, you want to create a collider that represents a volumetric dataset? (Which format is it btw?)

My suggestion would be to generate a mesh using marching cubes, and then use it in a MeshCollider.

You could for example use this library: https://github.com/AOT-AG/DicomToMesh
To export an .obj file. Then import that into Unity, and add it to a mesh collider.

Would that work?

If you want to have a mesh collider for only part of a dataset, I guess you'd need to extract a part of it somehow. I suppose there might be some software that can do that, but I don't know of any.
Maybe I should add support for exporting datasets? 🤔

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sayyes304
Comment options

@mlavik1
Comment options

@sayyes304
Comment options

@mlavik1
Comment options

@sayyes304
Comment options

Answer selected by mlavik1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants