I have ~30 blocks on my scene.
27 are tagged as “Bad”
3 are tagged as “Good”
If 1 of the 27 “bad” fall,i want a ray that colides with a Quad and stop something.
If the 3 “good” fall and their 3 rays hits the Quad something happens.
I know how to do the if, and etc. But i dont know how to Cast a ray on every block on a same function…
Basicly i want this:
But I want a ray on 30 different objects that are equals but in different positions.
My english is bad and I can’t explain it better :S
More or less… thats it, every block has a ray casted, and some of them are good and some other are bad, I need to Cast a ray from every one with a function, and I have no clue about how to do it…