The CSG base class. This is the CSG base class that provides CSG operation support to the various CSG nodes in Godot. Returns an individual bit on the collision mask. Returns an individual bit on the collision mask. Returns [code]true[/code] if this is a root shape and is thus the object that is rendered. Sets individual bits on the layer mask. Use this if you only need to change one layer's value. Sets individual bits on the collision mask. Use this if you only need to change one layer's value. Calculate tangents for the CSG shape which allows the use of normal maps. This is only applied on the root shape, this setting is ignored on any child. The physics layers this area is in. Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the collision_mask property. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. The physics layers this CSG shape scans for collisions. The operation that is performed on this shape. This is ignored for the first CSG child node as the operation is between this node and the previous child of this nodes parent. Adds a collision shape to the physics engine for our CSG shape. This will always act like a static body. Note that the collision shape is still active even if the CSG shape itself is hidden. Geometry of both primitives is merged, intersecting geometry is removed. Only intersecting geometry remains, the rest is removed. The second shape is susbtracted from the first, leaving a dent with it's shape.