StepPhysics not working when no unanchored 'Part' in workspace

Hi

step_physics_bug.rbxl (55.2 KB)
The above studio file has a ‘Part’ (block) and a ‘MeshPart’. The desired result is for only the MeshPart to be simulated by using the following line in the studio terminal:

workspace:StepPhysics(0.01, { workspace.MeshPart })

This only works if there is an unanchored ‘Part’ in the workspace. To reproduce the bug, manually delete the ‘Part’ from workspace and try running the command again. You’ll see that only one more physics step is allowed, subsequent steps are blocked.

It seems like there has to be atleast one unanchored BasePart somewhere in workspace for ‘StepPhysics()’ to work on the MeshPart.

Expected behavior

‘StepPhysics()’ should work when there’s a single unanchored MeshPart in workspace.

I just deployed a change today that should fix this issue. Let me know if it is still occurring.

1 Like

Thanks for the quick fix.

It’s working now.