- Home /
Question by
bkovner100 · Oct 24, 2013 at 02:24 PM ·
collisionphysicsinspectoreditor-scriptinglayers
How To Set Layer Collisons in Physics Manager Via Script
Hi,
Is there a way to set the layer collision matrix with an Editor script?
I tried using "Physics.IgnoreLayerCollision(int, int, bool)" inside an editor script but it didn't seem to change anything in the Physics Manager Inspector.
Thanks!
Daniel
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613120547im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do you enable the layer based collision matrix? 1 Answer
Check if layers can collide 1 Answer
Trigger Colliders: adding/removing rigidbody/collider at runtime is unreliable or confusing 1 Answer
Physics ignore layer collision script error 3 Answers
Ignoring collisions between a layer and a single object 0 Answers