Trash Clipping Through Container Collisions

I recently stopped continuously updating/maintaining my game, Collect Garbage For Fun, and couldn’t help but notice Roblox made a change to the way collisions are rendered in the experience right when I decided to do so. The behavior in my game should be pretty straightforward, to say the least. Contaminants (e.g., garbage bags, recycle bottles, green organic leaves) should stay inside the container. The containers anchor/unanchor depending on whether players get close to them in a truck.

Issue Demonstration: https://youtu.be/Ard1mluI2aE
Game Affected: Collect Garbage For FUN! 🗑️ - Roblox

Expected behavior

As mentioned above, the garbage should stay inside the container. I tried changing the CollisionFidelity property, but that didn’t help. I tried re-importing the trash as mesh, but that didn’t help either. Any and all help is appreciated!

A private message is associated with this bug report

2 Likes

Thank you for this bug report and reproducer. When did you first notice this happening?

1 Like

I noticed it only recently, but it’s been happening for probably a few months now.

1 Like

Hello! We think this is probably related to adaptive time stepping which turned on by default recently. Each of these changes improved the behavior:

  • set workspace.PhysicsSteppingMethod to Fixed – However, we don’t really recommend this because eventually we may remove this option.
    1. Make the bin walls thicker
    1. I found that damping the collisions, by setting Elasticity to 0.1 or so, also seems to help

Making the bin walls thicker and/or damping the collisions will probably be a better long term solutions especially if you plan to stop continuously maintaining the game.

2 Likes

Thank you for your input. I will keep these implementations in mind.

1 Like