Rigidbody Collision Question

is it possible to make a rigidbody ignore collision alltogether? would simply using

Physics.IgnoreCollision();

in some way work? or would I need to specify it ignores collision for basically everything

If you want a rigidbody to move, but not collide with anything, you can just remove its collider component altoghether.

(You can do this using the menu that appears if you right-click on the collider component in the inspector)