In roblox, the collisions created by unions are highly innacurate. I’ve developed a “bloxburg building system” plugin which creates doorways by negating a part in the walls. However, I’m experiencing that the collisions for unions are astonishingly inaccurate which leads to invisible boxes that collide when attempting to walk through my doorways.
Heres a video showing what I mean:
Expected behavior
I expect it so that it allows my character to walk through union holes. Instead the collisions are screwed up.
Roblox, by default, automatically generates poor collisions for unions to save on preformance. However, in many cases this functionality is not desirable. You can change the properties of the union to enable more accurate collisions in your unions.
Change:
RenderFidelity to Precise
CollisionFidelity to PreciseConvexDecomposition
These changes will remove issues with collision boxes since roblox will compute the collision boxes with more detail.