Collision Disabled Problem

Hi, I have a slight problem with the debug keys, In my project boost game I have flames coming out of pipes which are particles, if you touch the flames you die basically, with the collisionsDisabled = !collisionsDisabled; method it doesn’t disable collisions from particles, does anyone have any idea how to achieve this, I have tried everything with no luck so far.

Try the Physics.IgnoreCollision

It says that you can ignore collissions between 2 colliders

https://docs.unity3d.com/ScriptReference/Physics.IgnoreCollision.html

Privacy & Terms