- Home /
Third Person Camera Orbit
I am making a 3D platformer, and trying to use a script that, when the player presses W,A,S,or D, rotates the camera around the player. My friend tried to explain it to me, but I still do not get it. He said something about vectors and quaternions. How does camera orbiting work? What do Vectors and Quaternions do? The WASD controls act the same as they do in cames that use the C stick or the D pad for camera rotation. I need help.
Get your friend to $$anonymous$$ch you how to code. It's much, much easier to be taught by someone in person than to ask for help on the internet.
$$anonymous$$y friend has helped me he did it right in front of my eyes. I need a written explination of a Vectors and Quaternions. I need an explination of camera orbiting.
Almost all of these things are in the script reference and Wikipedia. The resources exist, you just need to look at them.
Camera orbitting works the way you tell it to. There are several ways of implementing it, and the exact details depend entirely on which way you choose to use.
I will go to the Wikipedia page and see if I can find it out. $$anonymous$$y friend told me it is difficult to understand.
Friends who tell you you're stupid aren't very good friends. Although, to be fair you don't really need to know how quaternions work to be able to use them, just read up in the script reference to see what you can do. All you really need to know is that they represent rotations in such a way as to avoid gimbal-lock etc, and that they don't translate very well into 3-axis rotations (for exactly that reason). Vectors aren't that hard to understand- they're really just directions in n-dimensional space. You use them every day, and you probably don't even notice.
Other than that, read some coding tutorials, and then actually read through the script to pick it apart. Something like a keyboard orbitter won't be that hard to reverse-engineer, and you'll almost certainly learn something useful.
Your answer
Follow this Question
Related Questions
orbit mouse camera animation movement script 1 Answer
Free Camera 2 Answers
Getting a scrolling camera to orbit around a circular walkway, following the player? 1 Answer
camera follow - no rotation 0 Answers
Camera X and Y velocity HELP! 0 Answers