Is there any way to limit Camera node's projection methods to specific layer?
Specifically I'm trying to use Camera's projectrayorigin() and projectraynormal() to find a 3D position of the mouse, and want it only to project on the floor of my scene. Problem is that the ray hits characters and I don't know how to limit the ray's collision layer.
Or maybe there is another way?
Thanks for any help!