- Home /
Unity scene all different camera has only one screen co-ordinate?
in theory ,finally all camera render on only one screen/viewport , a gameobject on screen in different camera should be has same screen point position. but cameras.WorldToScreenPoint(go.transform.position) get different result. what is wrong?
I don't fully understand the question but if one camera is pointing in one direction and another camera is pointing in the opposite direction, any given GameObject might only be visible in one camera but not in the other camera. Naturally the "screenpoint" the object is drawn to in such a case (for example) will be different for these 2 cameras
The object will only have the same "screenPoint" position if the cameras are aligned in such a way that the object really is drawn in the same position on both cameras, e.g. bottom left corner exactly.
Your answer
