Increasing the effectiveness of colliders

Hey guys. In my game i’ve got a cannon which shoots projectiles, when these projectiles fly; they will sometimes pass through certain colliders that i want them to stop at. I’m assuming this is occuring because the projectile is too fast and whatnot. I’ve tried decreasing the mass to almost nothing and the difference is only minimal.

Are there any ways to increase the effectiveness of a collider?

Thanks! :slight_smile:

There are some solutions for this (you could have make some research by the way).

The ones which come to my mind :

  1. Make the colliders bigger
  2. Raycast from your bullet in its forward direction, specify a maxDistance and stop your bullet if the raycast hits a collider. See Unity - Scripting API: Physics.Raycast