Roblox defying physics?

Hey pals! It’s DarkWatery…
Recently I was planning to build a Roberval Scale.
For those who don’t know, it looks something like this:
rober03c

I built this basic frame in Roblox Studio:

However, it turned out, that the part, just fell through the cylinder:
Roberval

The time I clicked it, i unanchored it by pressing “Alt+A”, and it just fell down thorugh the cylinder as you may have seen. The part is a union.

Is this the case with everyone? Did Roblox just defy physics?
I am curious to know, as I want to build a Roberval Scale in studio.
Is it because it’s a union, if yes let me try it without doing a union.
Help is greatly appreciated!

Thanks and Regards.

But what is the reason for using a union here?

To form that hole you see. The hole in which the other cylinder is inserted.

Both are CanCollide… correct?

1 Like


As you see, it works without a union, but why not with the union?

Unions tend to have ‘sloppy’ hitboxes, it might be more precise if you import a mesh instead.

2 Likes

Alr, lemme try it with booleans in Blender, and import it.

go into the Union’s properties, and find CollisionFidelity. Change the dropdown to PreciseConvexDecomposation. This can be heavy on your CPU, and your CPU is what is calculating physics. However, of it is only like 5 unions, you should be fine.

@0_salcret is correct though, Unions have bad collision hitboxes. you might be better off with a mesh.

1 Like

It’s just one union tbh. And yea about meshes, I haven’t tried it yet, will do!

I just tried replicating your structure with unions & everything seemed like it worked for me
https://gyazo.com/e72cfaeddf5bd4e39d30f5d7e97e43b7
As @Discgolftaco231 mentioned, make sure you have your CollisionFidelity of the union part set to PreciseConvexDecomposation

As far as I remember, the geometry for the unions are calculated the same way as they would be for a mesh. It wouldn’t make a difference, although it’s still advised to move away from the Unions as you’re saving extra data of previous parts that came together in order to create that union, which may potentially eat up your memory. You may still use unions for simpler things though (e.g. hole through the wall/ground or an object), just avoid them as default means of modelling.

Hey @DarkWatery!

Input

  • Unions are fine, your use case justifies [PreciseConvexDecomposition]
    image

Why your solution didn’t work

  • You used default collisions.

Top is default, bottom is [PreciseConvexDecomposition]

Demonstration

https://i.gyazo.com/46ab9ed49421f25d662886b63b669eb1.mp4

EDIT: ROBLOX DEVFORUM HELP PHYSICS DIAGRAM.rbxl (45.3 KB)

BLUE: THE MIDDLE CYLINDER IS STATIC
RED: THE MIDDLE CYLINDER IS UNANCHORED

TLDR

  • You probably won’t get to this:
    image

Without welding unions together, but that’s a completely different topic.

  • Use [PreciseConvexDecomposition] for your project.
  • Weld unions to unions to make the contraption work.

FYI

  • I’m a 3D Modeler, unions suck, but this is a good use case. So everyone else in chat, your advice is good, yet not pertinent to the situation.

Conclusion

  • Hope this helps, I challenge you to finish the diagram you posted today and edit your current post with the finished diagram. Goodluck, have fun!
3 Likes