unity-game-enginecsg

How to perform Boolean operations in mesh in Unity?


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


Solution

  • 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.