Setting the pcam's cullingmask layers help #202
Replies: 1 comment 3 replies
-
So setting a Essentially, the So at the minute, you would have to calculate the value and then add or subtract the layer you want to include or exclude respectively from the What I can do, though, is add a similar helper function to the one in the pcam.set_camera_cull_mask(LAYER_NUMBER, true/false) |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was trying to turn the cullmask layers 20 & 17 off on the MainCamera
I then tried doing this through script in the player_controller_third_person.gd from the 3DFollowThirdPersonExampleScene which I have built off of, so the scene is set up pretty much identical to that. I set the fov here and that worked fine for the MainCamera3D but I couldn't get the cullmask layers, I wanted to turn off am I trying in the right place? and maybe could you provide an example in code of how I could turn off specific layers. Thank you very much in advance. Love the add-on
Beta Was this translation helpful? Give feedback.
All reactions