Picking not working

Hello,
i was trying to work a bit with picking a mesh but for some reason it does not work.
pickedPoint is always null.

here is the playgound example.
https://www.babylonjs-playground.com/#GIU5Z6
The pick handler is on line 18

Thank you

Hi @EvilTwinsNiceBrother
Extremely low camera.minZ values can cause some issues.

camera.minZ = 0.0001;

Changed to:

camera.minZ = 0.001;

I see,
Thanks a lot!

1 Like