Hi!
I have an architectural visualization scene, where the user can explore using the First Person Controller, and switch to an external camera view pressing the numbers 1 or 2.
I used this code to do it:
var cam_1 : Camera;
var cam_2 : Camera;
function Start() {
cam_1.enabled = true;
cam_2.enabled = false;
}
function Update () {
if(Input.GetKeyUp("1")){
cam_1.enabled = true;
cam_2.enabled = false;
}
if(Input.GetKeyUp("2")){
cam_1.enabled = false;
cam_2.enabled = true;
}
}
What i would really like to do, is to make a transition movement between the 2 cameras, so the POV moves from the First Person Controller to the external view.
It doesn’t matter if the movement doesn’t have acceleration, or smooth transition.
The best example of what i need to do is this scene made by linusnorden:
http://demo.mooglimedia.se/
I hope someone can help me.
Thanks!