- Home /
Follow animation position
Hi, I never really use all the animation vars. So I want to know if it's possible to follow an animation position (movement) in scene with a camera. Something like transform.position at any animation frame ?
Answer by Berenger · Feb 21, 2012 at 10:12 PM
If you want to animate your camera, it's totally possible with te animation view.
If you want your camera to follow an animated object, or any moving object, use transform.LookAt.
Answer by liszto · Feb 21, 2012 at 10:39 PM
:o I don't think to the LookAt function. I tought the animation got its start position and that was over, but each frame got a position so ? Because the lookAt don't advance my camera in front of me so I must know the animation position to move as fast as she. It's to do something like that :
Your answer
![](https://koobas.hobune.stream/wayback/20220613064314im_/https://answers.unity.com/themes/thub/images/avi.jpg)