is it poissble to make a script that ingnores collision in certain cases? For example:
I like Object A collide with the level (otherwise it would fall trough it) but I wouldn’t like it to collide with Object B. So it’s sort of ignoring Object B.
Any Ideas how I could do that? Do I have to work with tags?
Unity Unity 3, you can use layers and the layer collision matrix in the physics settings, so you don’t need to use Physics.IgnoreCollision anymore (unless you have specific circumstances where layer-based collisions wouldn’t be sufficient).