- Home /
Have Camera To Move To Specific Position
Hello,
I'm working on a first person game, and I have an object in my scene that, when the user walks up and clicks on it, you can interactive with it.
What I am having a problem with is: how can I get the cameras current position, and move it (animate) to a specific location, over looking the interactive object.
In other words, lets say user is walking up to the object at different angles and directions, and clicks on the object. I then want the camera (first person) to then move from the current position, and rotation - to a specific, set position and rotation so the camera is over looking the object.
I was thinking about having an animation, but how would I be able to update the start of the animation with the current position of the camera?
I hope this makes sense.
Thanks!
Answer by efge · Mar 16, 2011 at 04:18 PM
There is already an answer:
Making a camera jumps to an object and to have the object in the center of the view
Hope it helps.