|Topic was automatically imported from the old Question2Answer platform.
Is there any way to limit Camera node’s projection methods to specific layer?
Specifically I’m trying to use Camera’s project_ray_origin() and project_ray_normal() 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!