0 votes

I've noticed that you can add new layers beyond the base 20 ones, whether for physics or rendering.
https://imgur.com/a/oQ9G22b

I fail to understand how these can work with the bit masks, and they don't show up in the editor interface. To use the 21st layer I've added, I tried doing set_layer_mask_bit(1 << 20, true) on a MeshInstance and set_cull_mask_bit(1 << 20, true) on my camera, but to no effect.

What is the purpose of these custom layers and how do you use them?

in Engine by (1,246 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.