repro: https://playground.babylonjs.com/#217750#9
Don’t move the camera. Seeing a couple of stuff here.
a) don’t think this is correct, but if you clicked on the sphere overlapping the ground, pickedMesh is ground
. But if you move your pointer just upwards a little and click on the part NOT overlapping the ground, console shows sphere
. If you comment out all the thin instance parts until the scene has only 1 sphere and ground, its wai. Something is definitely off here.
b) sphere.thinInstanceEnablePicking = true;
only works when the source sphere is visible. If I comment out line 31 (thinInstanceAddSelf) and click on the single sphere in the scene, console throws error. How can I still enable picking on the thin instances without having the source sphere in scene ?