Get a collider's specific name / ID?
Is there a way to get the name of a specific collider's ID that I could map in another script?
I have a cube where I set up separate, trigger sphere colliders on each vertex. I've made a separate script that these trigger colliders share, and they send events on collisions to another audio-related script. But it would be important to know exactly which vertex collider got triggered. Basically, each vertex should correspond to a specific sound.
Your answer
Follow this Question
Related Questions
EventManager timing affecting desired GroupBounds output. 1 Answer
Any way to add physical box colliders to an object with Character Controller ? 0 Answers
When is it necessary to attach a kinematic rigidbody to a gameobject? 1 Answer
Parent collider sometime counting as child's collider 0 Answers
Move object without leaving bounds 0 Answers