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!
efge
2