The CSG base class.
This is the CSG base class that provides CSG operation support to the various CSG nodes in Godot.
Returns true if this is a root shape and is thus the object that is rendered.
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.