I am using the code from the “Fun with picking meshes” .
Somehow the picking seems to be unreliable and doesnot always work.
It seems especially clicking on the top of cubes doesnt seem to work as it should?
Or do I have a different flaw in the code?
picking is at Line 249
Thanks! Werner.
1 Like
visibility does not prevent picking or interaction, only rendering. To fully disable the cube on picking you could use setEnable https://playground.babylonjs.com/#AQM49M#44
7 Likes
Thank you!
argh, I almost solved it on my own ;).
I already had the feeling that setting the visibility was the issue.
fantastic.
2 Likes