Hi all, I’m thinking about making a map made of primarily Parts.
I’d like to add caves, openings, and other crevices in order to make my map more interesting, but I’m not sure what the best method of doing this actually is.
If I wanted to, for example, make a tunnel through a large part, which option is better?
I have done research on Unions and have heard they aren’t very performant, but I don’t know if this applies to something as simple as 1 part negating another part.
I dont really use unions just because they are very annoying and usually cause a lot of errors in coding plus they seem useless to me so i didnt know about that property but still i suggest making it out of parts if you plan on having scripts that include those parts
In my experience I only used unions to create holes that players can see through but shouldn’t go through, otherwise it will create some problems with invisible hitboxes
i mean if you don’t care for optimization and would like the ability to change it further down your project for whatever reason then I’d go with number 2. Build a tunnel out of Parts.
But, if you are going for maximum optimization and not worried about specific looks(stud builds with surfaces, etc.) I would agree with this guy on it.
Edit: Just saw this post above me and I somewhat agree with him, but I’m pretty sure you can walk through mesh parts it just doesn’t have 100% accuracy with the collision, and unions are just eh.
I’ve used Unions in buildings before and have never had issues with Collision when using the right settings. Most of my concerns are strictly based on whether they are performant or not. I don’t plan to use a bunch of these, but I was wondering how much of a difference it’d make it to use Unions over Meshes for simple holes and caves.
you cant use unions for what you’re trying to do in the image you showed me because collisions should be messed up (assuming you use a big part and negate part of it in the middle
Collisions are not messed up if I turn CollisionFidelity to PreciseConvexDecomposition. I’ve really only used this option on simpler unions, so I don’t know how this applies to more complex unions.
Using this option allows players and attack hitboxes (in my game) to pass seamlessly through the gaps.