- Home /
How can I make a camera follow the character (in third person)?
I have the script for making the character move, but I need the camera to follow the character. Can anyone help? Thanks.
Answer by Kergal · Feb 11, 2013 at 07:27 PM
There are so many ways of doing that. Either code the position of the Camera in a relative way to the player and use transform.LookAt(Player...) or make the Camera a Child of the character (bad) . or look at the provided sample character that comes with unity3d and try to decipher the code.
BY FAR THE BEST way : (burgzergarcade - hack and slash series) - i have already looked up the correct video ;) watch all 4 videos and you never have to ask about that EVER again ;). Peter is a great lector.
http://www.youtube.com/watch?v=Xr7t9TyM3A0&feature=player_embedded#!
Your answer
Follow this Question
Related Questions
2D Character Flip 2 Answers
Want my camera to only move on a Horizontal Axis 1 Answer
Character Runs Off Camera 2 Answers
Camera animation into a scene –most efficient way? 2 Answers
camera follow - no rotation 0 Answers