So I was making buildings for my game and when I tried to go in them it wouldn’t let me walk in or I had made an earlier model and I would walk above the floor not touching the ground. I unioned and negated like usual and I’m not sure what to do. Thanks for any help!
You gotta give a lot more details than that. Are there any pictures you can provide? Is the door(s) CanCollide?
If I understand you well you mean that you can’t walk through the entrance of the building. Turning off CanCollide in the properties of the part will fix this. When CanCollide of a part is set to false you can walk through it. Check out this for more information about CanCollide.
I’ll see if that is the issue.
This is because hitboxes in unions are not prefect, please use a normal part when collisions need to be precise.
Nope, didn’t work at all. It could be my unioning but I doubt that is the issue.
A normal part, what do you mean?
Just use a normal part for it then, do not use unions for that.
Can you provide an example for me to see.
The problem here is the Roblox union hitboxes, they’re huge, meaning you’re gonna need to use a normal part for it.
This is the icon of a part in Roblox studio:
Can you show me a building just by using a normal part, because I would need union and negate to make a space to walk in. Would you mean doing this, by using individual parts?
Can you link us to the game?
Or show us in studio the part your having trouble with? It could be a mesh or a union that your talking about.
You can just place the parts individually and have the inside be hollow. You can also resize parts to make them small so they can be good for walls.
I suppose this will have to do. I could work with it. Thanks for trying to help me out though.
What would be the best way to take a picture. I don’t really want to link the game cause it isn’t done but manly cause there is stuff spread out and kinda looks like a mess.
When you union something, you take a chunk out of a big part, and what this does is it creates individual triangles inbetween to represent this. However, unions are somewhat notorious for inaccurate physics hitboxes, and collisions are approximated so you may think you can walk through a doorway but actually the door way’s collision box is very simplified so its almost like a box.
To get around this issue, you can try divide your doorway into three separate parts rather than one whole part, and create an arch way like this:
As you can see, I’ve divided the doorway into three parts. Two normal parts on their own, and one union “archway”. I hope this helps and feel free to message me with any questions.
So instead of union and negating, just build with parts instead? Also, how would you make the arch, its pretty well defined. Is it a result of union and negating or is with a plugin?
The parts outlined in red are normal parts, the part in blue is a union.