- Home /
OnTriggerEnter question
So if I have a gameobject with multiple colliders, and they are all triggers, how can I specify so that a different effect happens when a different trigger is activated? For example the outer collider gets triggered and an animation plays, then a different collider on the same gameobject is triggered and that has a totally different effect. Any help would be awesome!
Answer by Soos621 · Apr 26, 2015 at 06:16 PM
The way i did it was to put a script on the object(s) that your main gameobject will hit so the environment reverbs info back to your main object. I dunno if this will help but here's and example;
if you have any further questions ill be around
Your answer
Follow this Question
Related Questions
On Trigger enters being called a frame late 1 Answer
How do I prevent multiple triggers using OnTriggerEnter? 1 Answer
Hello, How would one make a particlesystem activate triggers? (hopefully I worded that right) 0 Answers
Can't call GetKey inside OnTriggerEnter? 2 Answers
OnTriggerEnter Multiple Collisions Activating. I tried many variations, Please help (Java) 3 Answers