Closed vicgcode closed 7 months ago
Hi! Long story short, after trying another picking method, we've returned to the original one that uses the bounding box of a model. And while the child nodes are extracted from the model, the collision shapes aren't created for them. I've wanted to see if it's even possible to do so but have forgotten about it.
Thank you for the answer @grassydragon! Is there an any version of SceneView in which picking works with child nodes?
I think you should try a version before this release: https://github.com/SceneView/sceneview-android/releases/tag/v1.2.0
Hello!
I use ArSceneView 2.0.3. I have a model that contains almost twenty child nodes. I try to get a child node when user tap on the scene, but
onSingleTapUp
andonSingleTapConfirmed
callbacks return a parent node that contains all existing child nodes, but I don;t know how to find selected child node. How to get selected/tapped child node?My code:
Also I tried to use Compose, but it returns the same - all child nodes instead the one that tapped by user.
@ThomasGorisse @grassydragon
and All members