Can a meshpart make a raycast inaccurate?

If I have a building that consists of one giant meshpart, and I (for whatever reason), need to perform raycasts inside of that building, how accurate will these raycasts be? I know that meshpart collision isn’t as accurate as part collision, so I’m wondering if performing raycasts on meshparts will also not be as accurate.

1 Like

If you click on “File”, then “Studio Settings” and scroll down in the first Studio tab, you can find “Show Decomposition Geometry”. Setting this to true will start rendering the actual collision instead of the visual for the mesh.
If anything seems odd, you can click on your meshpart and change around the “CollisionFidelity” property until it looks better. If nothing works you may have to set the cancollide for your mesh to false and reconstruct the intended collision with invisible parts instead.

1 Like