- Home /
Question by
JPB18 · Jun 01, 2012 at 02:08 PM ·
c#camera3dcoordinates
Getting other cameras coordinates
Hey there!
I'm here to ask you if there is a way to get the coordinates and orientation of a (secondary) camera, so I can place the main camera on those coordinates?
The objective is to do a presentation similar to Prezi "Zoom Presentation", but in a 3D space...
Thanks in advance.
JPB18
Comment
Best Answer
Answer by whydoidoit · Jun 01, 2012 at 02:11 PM
Either add a reference to it by creating a public variable of type transform and dragging it in there
var otherCamera : Transform;
Or find it using GameObject.Find("secondCameraName").transform
Method 1 is faster :)