Open ivaylopenevmg opened 4 months ago
Same problem here, it seems the name in .glb file is set to every Node no matter what name you provide to ARKitGltfNode. I have to the same file duplicated changing the name inside the file so I can distinct what node I'm tapping on.
Hello, I'm using
ARKitGltfNode
to show custom nodes from .glb files on the camera. When clicking on this nodes, I need to differentiate them in order to show additional UI with text related to them. For this I was storing some text info in the name. Then the onNodeTap callback returns the name of the clicked node.This logic was working all fine when I was using
ARKitNode
, however withARKitGltfNode
the name value is always the same: Sketchfab_model. I wonder if this comes from the .glb binary. So in this case I'm unable to make a difference between nodes.