Is it possible to make hollow cylinder with changable hole size?

Hello devs. I’m trying to make building game. One of many parts I want to add is hollow cylinder. But if I’ll add mesh, it’s hole will resize along with mesh, so I can’t say what’s hole size exactly. Is there any way to make it more flexible, so if I’ll type in some property 2, then cylinder hole radius will be 2 studs?
image
(Example of what I want achieve, red lines are just for visualisation)

1 Like

You could use Unions, but they wont be as smooth as meshes. Unions however can be created on the fly meaning you can change the size of the inner cylinder to change the size of the hole:
image

2 Likes

The best way to do this is toprobably use unionOperations and play with the :SubtractAsync() function…

Here’s a reference from the roblox api:

1 Like