Problem with fast bullets (tunnelling effect)

Hi,

I’m facing the tunneling effect problem, which is fast bullets skip certain small objects that appear on their path.

I’m using 2D and my bullets have rigidbody2D and I enabled “Continuous” on Collision Detection via Inspector.

Here is how I fire a single bullet:

Rigidbody2D bulletInstance = Instantiate(BulletPrefab, transform.position, Quaternion.Euler(new Vector3(0,0,0))) as Rigidbody2D;
			bulletInstance.velocity = new Vector2(BulletSpeed, 0);

What am I missing? Is my problem is that I change velocity of the Rigidbody2D?

Thanks.

What I ended up with and seems to work best is to change DontGoThroughThings for 2D, spend a day pulling my hair out with layer masks, and apparently everything works.

What I love about it is that I can increase speed of my bullets to any aribtrary value and they always hit the target.

Thanks