|
I am making a game in which I drag some objects with some modified form of DragObject script found in unify wiki (yes not unity). It works for one camera, the objects are being dragged at a plane a certain distance away from the camera (like x-y plane). Now I have added another camera which looks at the same objects from right (90 degrees).it moves objects in its respective plane. The script attached to the objects looks at the tag main camera and moves the objects with respect to the camera that is tagged "main camera". I change the tag of the cameras when I press key "c". One camera becomes tagged main and other untagged. It works and the objects move with respect to the camera tagged main. But there is one problem. I cannot select the objects from the second camera. they move according to it but they cannot be selected from it. How can I solve this problem?
(comments are locked)
|
