Categories
How to get multiple colliders on an object?
There are two box colliders on the object. It would be logical to do so, but as it turned out - wrong. BoxCollider[] bx = GetComponent<BoxCollider[]>();
BoxCollider[] bx = GetComponent<BoxCollider[]>();
Answer the question
In order to leave comments, you need to log in
https://docs.unity3d.com/ScriptReference/Component... We completely forgot how to google
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question