|
Hello, I want to be able to have 2 colliders on a gameobject but both being affected by 2 different actions. Meaning: Imagine a circle in the air(with 2 circle colliders on). The first collider will be 5x bigger than the circle, the second collider being 2x bigger than the circle. Now if the player collides with the first circle, it will spawn a 'missile' that will fire at the circle and if that 'missile' collides with the second collider, it will destroy the circle and itself. How can i give a title to the two different colliders for the ability i am trying to do to function properly. Like giving that collider a tag or something.
(comments are locked)
|
|
I am 99% sure you could do this:
So in the end you would have: -Parent GameObject with: thank you, this was easier than the way i was planning on doing it. Only thing is i am working with a few prefabs, would this make a difference to anything?
May 16 '11 at 01:15 PM
Matthew Dennis
No worries glad to help. Depending on how you're using the prefabs you may need multiple ones.
May 16 '11 at 06:30 PM
GesterX
(comments are locked)
|
