In the documentation ( https://docs.godotengine.org/en/stable/classes/class_collisionobject3d.html#class-collisionobject3d ) it says set_collision_layer_value(int,bool)
is the correct one, tough it didnt work, and online I saw some people using set_collition_layer_bit(int,bool)
in 3.x , but I had no success. The editor even tries to correct me, but doesnt recognize it.
The error
My node tree
Was using StaticBody3D, no success with RigidBody3D
Wondering if I'm doing something wrong or should open an issue, in this project, setting through code is the best option. Thank you for your time!