Im grouping <a-box>
'es with a <a-entity>
wrapper.
Then, Im using the cursor component in the <scene>
and trying to pick/select individual objects that make up the <a-entity>
wrapper, yet only wrapper <a-entity>
gets selected, not the individual objects.
Im really curious about this. I looked at all the aframe cursor (https://aframe.io/docs/0.2.0/components/cursor.html) docs, and there is no specific mention of this scenario. It does mention that the raycaster(https://aframe.io/docs/0.2.0/components/raycaster.html) used by the cursor returns the first entity that is intersecting with the projected ray... which would be the grouped entity... so always returning it makes sense.
everything works fine when all the <a-box>
'es are attached to the global <a-scene>
, and they can be selected individually.
Am I correct to assume that picking only works correctly when the particular object is a global entity (not a nested one)?