I am using 2 active cameras with 2 layerMasks (0x10000000 and 0x20000000). One pair of camera/layerMask is for the 3D objects in the game world, while the other pair camera/layerMask is for the 3D objects in my menus.
My problem is that when I open my menu, the 3d objects are indeed pickable when I click on them, while when I close my menu, the 3D objects in my world are not pickable. The pointerDown event is caught but when I inspect the pickInfo, the pickedMesh is equal to null…
Is there anything to specify to onPointerObservable that we want to observe clicks on a specific layerMask/Camera?
Here how the game looks like:
I need to be able to pick up the letters by clicking on them basically.