- Home /
Question by
PuppyTails · Jan 18, 2019 at 06:00 PM ·
rigidbodytriggerlayerslayer
Is there a way for a trigger to ignore objects on a certain layer?
Can anyone help with this? ty
Comment
Best Answer
Answer by PuppyTails · Jan 18, 2019 at 06:17 PM
other.gameObject.layer != (layer here) works
Your answer
Follow this Question
Related Questions
Trigger Collider not detecting game objects? 0 Answers
Applying explosion force to a single layer? 2 Answers
Rigidbody2D alternating between TriggerEnter and TriggerExit? 1 Answer
Setting object to my own layer is making it fall through scenery. Why? 0 Answers
Possible to stop collider from "popping" through plane when re-centering? 2 Answers