Is there any way to collect the surfaces and edges from an imported Sketchup model?
Hello everyone, I am working on a project to re-generate unity objects from the surfaces and edges of a SketchUp model. The ultimate goal is to detect collisions between the imported SketchUp model and some unity objects. And it has to be fully automated because the input SketchUp file can be anything. I need it to be an acceptable accuracy, NOT something like creating a big collider square-box that contains the SketchUp model.
I only need the information from the surfaces and edges. Material or color or texture is not really my concern right now. Because it is an automation project, we don't care about the visualization. We don't really need to keep the Sketchup model in the app after collect enough information.
I know there are a ton of works to do and it can't be perfect. I have done some collision detection with scripting in the past so I know how it works as long as I have input data to process. The problem right now is I can't find where to access the coordinates of the surfaces and edges of an imported SketchUp model. Is that possible with Unity.
I don't mind how hard it is if it is still possible. Please give me a hint. Thank you
Your answer
![](https://koobas.hobune.stream/wayback/20220612224751im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Collision is not working with some Collider2d 1 Answer
How can I detect the collision of a gameObject which is at a high speed? 1 Answer
OnTriggerEnter getting called more than once 0 Answers
When two different 3d objects touch each other I want one of them to turn green, how do I do this? 0 Answers
How to random place sprites but make sure they aren't touching? 1 Answer