Object goes through collision

I am making a marble rolling game, and if the marble moves fast enough it will go inside the level. Same goes if the marble is falling fast enough. The marble is moving through a rigid body collision and I don’t know how to fix it. Does anyone have any ideas what is wrong?

https://playcanvas.com/project/514434/overview/marble-game

Does this help:

https://developer.playcanvas.com/en/user-manual/physics/calling-ammo/#continuous-collision-detection

I think this is exactly the problem. Is there a legacy version of the script?

No, but it’s fairly easy to edit it to the legacy format. You really should be using the current scripting system. The legacy one will stop being supported one day. It was deprecated literally years ago. :slight_smile: