googlesamples / sceneform-samples

Sceneform samples for 3D rendering for ARCore in Java.
https://developers.google.com/ar/develop/java/sceneform/
Apache License 2.0
87 stars 22 forks source link

Feature Request: CollisionShape from Vertex list #1

Open arthurfp opened 5 years ago

arthurfp commented 5 years ago

First of all, great job on this project!!! It helped me a lot with my code.

Do you think you can generate a CollisionShape from the google's RendereableDefinition class? Using its vertices? To every loaded object in Sceneform, Renderable class generates a Box as a CollisionShape, also the HitResult from the Node seems to be the generated Box, which is really bad for 3D objects with other shapes.

I tried to do it, but I couldn't get nowhere. Can you help with that?