In my cape simulation, it has 1v1v1 wedge parts with wedge meshes in them. I resize the meshes to fit the desired size and update their CFrame. It runs every frame on the render sequence. The parts are located in a model in camera instance. They are local.
Images
When it’s broken:
When it’s working fine:
You can see the issue in the images. It drops the frame rate. It happens randomly for a random duration of time. Every 1 to 20 seconds lasting for 1 to 10 seconds. Nothing else seems to be broken. I’m 100% sure that the issue is not within the scripts math/physics.
I use it in this place, currrently only two people can have it. The bug occurs here:
I believe having more triangles shown on the screen makes it more common to happen? I can’t reproduce it, it’s quite random.
I’ve put it into this place to test on others:
In this cape sim place, the bug doesn’t happen. In that place, I tried to put 10,000 parts to reproduce:
Image
and moved myself 100,000 studs up and it still doesn’t happen there.
Specs:
i5 3570
GTX 1060
16GB RAM
Windows 10