Roblox Studio unions

Hello,

I have no idea why sometimes unions blocks people from going trough the union. How they blocks and sometimes doesn’t?

10 Likes

You need to turn off cancollide. The union is still a NEW block.

Either use the properties or insert a script with

local part = parent

part.CanCollide = false

@Peterboy_RBLX

Also, it is either cancollide = false meaning they walk through or cancollide = true meaning they don’t walk through.

5 Likes

Sorry I don’t think I understand. Are you asking how to allow players to walk through a union or are you having this bug:Unions causing climbing/collisions issue in-game ?

3 Likes

Sometimes they can go though of unions. No idea if it’s a bug or something like that.

2 Likes

Make sure cancollide is set to either: true or ticked in the properties.

2 Likes

It’s about, unions sometimes allows player go through of it and sometimes doesn’t allow.

2 Likes

Or just remove the unions doing that and redo them.

3 Likes

Check this for more information on how Unions’/MeshParts’ collisions are created:

1 Like

If it’s directly through the union then like then do you have can collide set to true.If you have it set to true and they can still walk through it there might be a bug. If it’s around the union you may be experiencing that bug.

1 Like

That is just how unions work, sometimes it works and sometimes it doesn’t.

1 Like

Okay, or either I just do curves or something like that by a tool move and rotate.

1 Like

Did you check the Collision Fidelity property of the union? Make sure it is set to Default for the better results.

1 Like

No, I never seen it. Where do I see it?

1 Like

Select the union and have the properties window open, scroll down until you find the property named Collision Fidelity. See if setting it to Default fixes the problem.

Also there’s more information on it in the Hub.

1 Like

Ok, I’ll try it later.

Thank you.

2 Likes

Unions are tricky and to get more accurate unions, use more parts to make the union.

You can enable Decomposition Geometry in Settings: (Recommend this plugin so you don’t have to reload studio every time.)

This enables you to see the collision areas and to get your unions more accurate. The colored areas are the object’s hitbox. So if you have the can collide for this object turned on, the places that are colored, you can’t go through. For example this looks like you can go through:

But really, the area is smaller.

Hope that helps!

5 Likes

Probably it helps, thank you for the plugin. :wink:

The plugin is very good, thank you.

I gave you a like, It’s great idea.

Using more parts ≠ more accurate unions.

The collision detail is based solely on the complexity of the union and it’s size. So by using more parts, you will most likely make it worse.

Yep, worse. Wasting time and hard working. xD

I don’t mind for it, I like to develop things lol.

1 Like