Hello,
I'm trying to develop a weight sensor interrupter . It's just a plate on the ground which once triggered would open a door. (preview available here : http://hijackedbrain.com/slice , boxes will follow you if you're in their sight)
If you put a number of box ( in this preview, 3 ), the door opens.
My problem is, I actually use a collision box placed upon the interrupter to detect boxes. But if I decided to stack boxes on top of each other, the ones on the top will be out of the collision box, and so the door won't open. I could enlarge the collision box. Or replace the collision box, by using multiple raycast on the Y axis to detect the presence of the boxes. But it feels so wrong. I think I am missing something.
Could you please help me figuring out a proper way to do ?
↧