Create with Code challenge 4, balls go through mesh colliders

I’m still learning Unity.

When running this project there are balls held in a box made of planes with mesh colliders. Moving slowly into the walls will bounce the player or enemy away. Its seems fairly easy to bump the balls out of bounds of the play field though. I can use the boost to just go through the walls, or push the enemy balls through walls.

How do I stop this from happening?

Increasing the wall width would probably help. I believe mesh colliders are kind of heavy; why not use box colliders?

I’ll try that, the type of colliders were pre-made in the project and there wasn’t any discussion in text about how computationally difficult the different kinds were.


Using box colliders and making them thicker did seem to fix it. Thanks :slight_smile: