How would I create a hole in a part with accurate decomposition geometry?

When making holes for a golf game, the decomposition geometry is all screwed up when I created the hole with CSG (negating a cylinder). I’m wondering what the most efficient way would be to create a hole with an accurate enough hitbox (efficient meaning is there any other way without creating a bunch of smaller parts?).


(yikes)

3 Likes

You can have either very small number of instances (in this case, a single Union), OR you can have an accurate hitbox. You cannot have both (right now), unfortunately. You’re going to have to go the Parts route

2 Likes

If you like the look you get with the union, you can always set the actual geometry to non collide and create invisible geometry parts around the hole for collision.

1 Like

That’s most likely what I’ll end up doing. Thanks for the help!

Unfortunately, I think the best way to make an accurate collision is to create the collision with blocks.
I’ve encountered this issue on one of my projects so what I did is I made the outline of the holes with parts, and then, I filled the floor with parts. The imperfections are hidden by the outlines. Then I unioned the floor so it seems like one part.

Images of my project

I don’t know if anyone has a better solution, but for now, this is how I do. It also depends on what kind of design you want.

Conclusion, using parts is still the best way, in my opinion.

3 Likes

You could use the Archimedes Plugin to create circles. Very simple and easy to use.

1 Like

From my experience, making holes in Roblox Studio using negative parts and Unions is not always the best way to create accurate collisions.

I try using a combination of Blender/MeshOptimization Plugin to make high-quality collidable parts.

(Roblox Plugin Mesh Optimization Tools listed here.)

(In this example I used the Plugins MeshPatch ability.)
That’s if you want EXACT mesh collision, and this process can be time-consuming if you are not bulk importing your meshes.


1 Like