- Home /
Make a camera follow an object
Hey. I am very new to unity and i'd like to make a 3rd person shooter game. Can you give me a sample code that will make the camera follow an object? and another thing can you also give me a code that when my cursor moves the character also faces that direction(like in 3rdperson shooters)? thanks in advance
I don't mean to be harsh, but this is a knowledge base where people can find answers to problems, not a free scripting service. You need to give it a go yourself and come to us when you get stuck.
If you really want people to give you scripts then go on the community page. :D
Answer by Coreyf716 · Mar 03, 2013 at 05:14 PM
Parenting will give you the effect you're looking for. Drag it into the player and place it to your liking :)
Your answer

Follow this Question
Related Questions
Camera Follow Mouse 2 Answers
how to show cursor on specific time? 2 Answers
Super Monkey Ball type Camera? 2 Answers
How to make your character move? 7 Answers
Texture following cursor... 1 Answer