google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Sceneform multi-node model: picking child nodes #206

Open JessHolle opened 6 years ago

JessHolle commented 6 years ago

If you import a multi-node model into sceneform, is it possible to pick/ hit-test child nodes?

dsternfeld7 commented 6 years ago

This is not currently possible, you would have to import the different nodes as separate models.

JessHolle commented 6 years ago

It seems this should be tagged as a feature request then.

There are lots of use cases for picking specific sub-nodes -- followed by changing their material, visibility, transformation, or simply using an identifier of the sub-node to look up and display related information.

And one really doesn't want to manage dozens of separate asset files for such a case, but rather 1 that produces a node tree rather than a single node when loaded.