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.