- Home /
Are there any 3rd person controllers like this
I'm looking for one basically like League of Legends, or Heroes of Newerth. (Not for the purpose of making another DotA game..) But your view would be down on the map, with either arrow keys or moving your mouse to the edge of your screen to move your camera (It's not locked on your player) and you move your player with right click. Do any of these scripts already exist or should I start coding?
For the record - it's rpetty easy to do this, and you should just start coding!
there are any number of scripts "generally like this", but the fact is you won't be able to find exactly what you want. the fact is you'll just have to code it (a few lines of code)
start with as many examples as you can, and go nuts! Enjoy!
Answer by decamonos1 · Aug 08, 2012 at 03:50 AM
Are you a beginner by any chance? This could possibly be done by modifications to the current 3rd person camera script, but it's far easier in my opinion to just make the script. If you are a beginner and would like help with the script I would be more than willing to help out.
Yes I am a beginner and help would be greatly appreciated! Where should I start?
Start with making a script that holds two variables. Your character, which should be a transform. And your camera, which does have it's own variable type. In the Start() function, or the Awake() function set the transform variable equal to transform to make the variable whatever you put the script on. And in the same function make the camera variable equal to Camera.main . From there you just have to set the camera's position relative to the player, using transform points, and then setting it's rotation to the desired angle.
Answer by Meltdown · Aug 10, 2012 at 06:01 PM
I'd suggest doing this tutorial that comes with assets and scripts. When you're more comfortable with what's going on then you can tweak it to your liking.
I'd also suggest www.unity3dstudent.com for a great set of short scripting tutorials.
Your answer
Follow this Question
Related Questions
3rd person Controller weird behavior. 0 Answers
3rd person controller NullReferenceException 2 Answers
Help with a simple 3rd person camera? 1 Answer
No standard assets 1 Answer
3rd person controller does not go with the animation. 1 Answer