Quantcast
Channel: Answers for "How to make colliders to react only with one layer?"
Browsing latest articles
Browse All 6 View Live

Answer by jonas-echterhoff

Currently there is only Physics.IgnoreCollision(), which acts per collider, not per layer, so, likely you have to write some more complex setup code for what you want. We are working on improving this...

View Article



Answer by JDonavan 1

Ryan Scott posted a script to the UnifyWiki site that might help... From http://www.unifycommunity.com/wiki/index.php?title=CollisionIgnoreManagerusing UnityEngine; using System.Collections; //...

View Article

Answer by stijn

I realize this was written a while back but somehow this post still comes up when searching. Unity now has implemented the following method: [Physics.IgnoreLayerCollision ][1] For example: // ignore...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images