Bullets - Raycast vs Collisions

Which is faster? I know that raycast are a lot more accurate but if I had a raycast from each bullet, and I had like 100 bullets would it be faster than 100 rigidbodies and collisions? Thanks.

Raycast will be faster than putting that many colliders in.

With raycast it all depends on how far you’ll be tracing, but ultimately i would think that in any occasion a raycast would be faster than actually making a rigidbody/collider

Plus, with small fast moving stuff like bullets you’ll run into problems with discrete collision detection. Bullets could fly through stuff in one cycle, which won’t get detected. You’d need to switch to continuous collision detection, which is a lot slower.

Ok thanks, I’ll be switching over my stuff to raycast then.