Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to perform Boolean operations in mesh in Unity?

Tags:

unity3d

csg

I have Cube model and Cylinder model. I want to make a hole inside Cube by Cylinder, how can I make it?

I have these two models:

enter image description here

And I want to make this:

enter image description here

like image 361
Eloren Avatar asked May 20 '19 17:05

Eloren


People also ask

Can you boolean a mesh?

Boolean meshes The mesh Boolean commands work best on closed mesh objects. Subtract the volume of one set of objects from another resulting in a mesh. Create a new mesh from the intersected volumes of objects. Split and close objects at intersections.

How do you boolean in ProBuilder?

To open the Boolean (Experimental) window, navigate to Unity's top menu and go to Tools > ProBuilder > Experimental > Boolean (CSG) Tool.


1 Answers

This is Boolean Operations on Mesh.

Use this thread to learn more about it.

Here is repository from GitHub. Which was previously used a lot, still can be used. Want to know more, use this thread.

And if you are in a hassle, here is a repo. I have used it.

like image 54
Maifee Ul Asad Avatar answered Sep 28 '22 07:09

Maifee Ul Asad