Multi Camera Touch Detection

I am trying to do touch input where multiple cameras are rendering different parts of the GUI. The finger manager script on the wiki is casting the ray from camera.main but that won’t hit what’s in the other views. Does anyone have an idea for getting it to cast from the right camera? Also is there a good way of culling the hits from things out of the view of the other cameras, so overlapping objects don’t register. And to that end of just registering the topmost object that gets hit by a touch ray?

i got the same problem with you :frowning: … did you already found any solution?? thx b4…

Just change Camera.main to someCamera to cast a ray from that camera
to determine which viewport you are touching, do a Rect.Contains(position) with the screen coordinates.