Help with Decomposition Geometry

Hey, I have a mesh that I’ve imported into Roblox from Blender and I’m working on the collision side of things and I’m trying to make collisions close as possible to exact as I can without having to change the Collision Fidelity property

What the mesh looks like and how the collisions should be:

image

What the collisions look like

1 Like

You have to change the CollisionFidelity to Precise for that to happen.
Why would you want to keep it at Default?

Trying to keep things clean lol.

It’s for a train and the mesh is apart of the cab front door and I’m wanting to keep collisions clean leaving CollisionFidelity at Default if possible.

The CollisionFidelity property exists to let you have more control over how precise the object’s collision is. Leaving CollisionFidelity at Default isn’t being “clean”, it’s just not utilizing a property that’d fix your issue. If changing it to Precise fixes it, use it!

1 Like

To create collision for your mesh in Roblox, you can use the MeshPart object. Here are the steps:

  1. Create a new MeshPart object in Roblox Studio and position it where your mesh is located.

  2. Open the MeshPart object and select the Mesh property. Click on the Browse button and select your imported mesh.

  3. In the same MeshPart object, select the Collision property. You can choose between different types of collisions, such as Box, Sphere, and Cylinder. Choose the type of collision that best matches the shape of your mesh.

  4. Adjust the size and position of the collision shape to match your mesh. You can do this by modifying the Size and Position properties of the MeshPart object.

  5. Test your mesh and collision by previewing your game in Roblox Studio. If the collision is not accurate enough, you can increase the Collision Fidelity property. This property controls the level of detail in the collision mesh.

  6. If you still cannot achieve the desired level of accuracy with the Collision Fidelity property, you may need to modify your mesh in Blender to create a simpler collision shape.

Remember that creating accurate collision for complex meshes can be challenging, and may require some trial-and-error to get it right.

They’re already using a MeshPart.

The other option would be to make the MeshParts of the train all CanCollide off, CanQuery off and CanTouch off, then use just a few normal CanCollide Transparent Parts to create the physical train walls.

However, this will allow the player’s camera to move outside the cabin and view towards the player. If you don’t want the camera to be able to view from outside the walls you can make the Part Transparency 0 and put a BlockMesh inside each one with the Scale set to .001,.001, .001 (or even smaller, or use the Offset of the BlockMesh to hide it visually inside one of the MeshParts of the cabin) so that the camera is contained inside the train cabin but the walls seem transparent.

Sorry for the late reply.

Once I finish the whole complete model and the livery then I’ll know how I want to export the model into Roblox and then sort out the collisions from there.