Collision issues in terrain with fast-moving unanchored parts

I’ve noticed that while using terrain, sometimes physics will behave unexpectedly, but only with a particular ability in the game. The ability is where you simply throw a bomb, but sometimes if the bomb is travelling downwards at a fast enough speed then it will either clip into the terrain and get stuck underground, or simply fall all the way through the other side. This is very inconvenient to me as it makes this ability unreliable on terrain. It doesn’t feel like it has to be travelling very fast either.

Also note that occasionally the bomb will kind of “squish” or “bounce” into the terrain slightly before correcting itself back on top of the surface.

To test whether it was the bomb specifically having issues, I inserted a basic sphere part while in a studio test (on the server end) and placed it near the character. I managed to capture an instance of the part falling clean through the terrain after an initial bounce. This doesn’t happen all too often though.


I wasn’t able to capture the ball falling through the terrain when I moved my character further away, so perhaps this is partly to do with the client:server physics calculation handover? (The only thing is, I force my bomb to be only calculated by the server using SetNetworkOwner(nil) so that wouldn’t explain the bombs falling.)

Hello,
Can you check if this issue still occurs when Workspace.PhysicsSteppingMethod is set to Fixed? Within the game engine, we use discrete collision detection so our ability to detect collisions is tied to the timestep we use for simulation. We have heuristics within the adaptive timestepping collision that help lower the timestep for these situations but it may not be working appropriately. Trying with Fixed timestepping will help us diagnose the problem more. I would also be happy to check for myself if you can share a reproduction file. Thanks.

I am going to close this one out as “Won’t fix”. This problem either relates to the typical tunneling we see with fast moving objects due to our discrete collision detection or relates to tunneling associated with the larger timesteps used with Adaptive timestepping. In both cases, the system is working as designed. We are working on improvements that will hopefully address these situations but that is beyond the scope of a simple bug fix. Thanks.

How thick is the terrain underneath the sand pit. If you have it very thin you may experience this issue as well.
Try a quick fix by adding more voxels of terrain below that point.