"CanCollide" Lag

So I have a problem. There are about 5 meshes in my game and when I turn on “CanCollide” on all 5 of them it makes the game very laggy. Is this a Roblox problem or can it be fixed?

4 Likes

Our game has a lot of big and small meshes, and I couldn’t replicate the issue.

Can you please be more specific?

It also might depend on how that mesh has been created. If it’s extremely complicated, then Roblox could have some issues calculating the hitbox of the mesh. You can try to:

  1. Fiddle with the mesh in Blender or any other 3D editing program.

  2. Set the CollisionFidelity (Hitbox) of the mesh to Box if you don’t need players to interact with the mesh (It’s a background or detail) (Screenshot by Lightshot)

  3. Keep them on CanCollide off, and create invisible parts (with CanCollide on) which could act as rough hitboxes for the mesh.

Anyway, good luck with your build!

The meshes were simple things like bushes, grass, rocks.They were made in blender by me and even I can’t tell what the problem is. The mesh? Or Roblox?

The meshes could have a high poly count or be designed in a way that makes it difficult to establish the collision boxes. You should change the collision fidelity to box or another option.