Boolean operations
Note: Boolean operations are an experimental feature. To use them, you must enable experimental features.
To create a new ProBuilder mesh for the interactions of two existing ProBuilder meshes, use the Boolean (CSG) Tool.
To create a new mesh from two existing meshes:
- Create two ProBuilder meshes that overlap in space.
- Enable experimental features.
- In the main menu, go to Tools > ProBuilder > Experimental > Boolean (CSG) Tool. The Boolean (Experimental) window opens.
- Select the source meshes by either:
- Dragging from the Hierarchy window to Drag GameObject here.
- Click Select (⊙) to open the Select Pro Builder Mesh window.
- In Operations, select an operation type**:
- Intersection: The new mesh is formed only from the overlapping area of the two source meshes.
- Union: The new mesh is identical to the original meshes.
- Subtraction: The new mesh is nearly identical to the original meshes, but is missing the area where the two meshes overlap.
- Click Apply.
- ProBuilder creates the new mesh based on the selected operation type.
- The new mesh is in the same location as the source meshes; deactivate or delete the source meshes if you don't need them.