Third person camera
-
Started a new 3D project and immediately ran into a problem after setting up the scene. I wanted to make a "third person" game where the camera follows the player character (in this case the character is a spaceship).
My overall aim is to have the character ( or ship) slightly off-centered in view with the camera able to rotate around it. With a reticle or something to show where the camera is pointed.
Edit: I forgot to write the actual question. So what I don't know is how to make the camera so it follows the character. Does anyone know how to achieve this?
-
Great project! Check out the first person tutorial "3D Game Movement" in the built in help, there's an example from the team that I often borrow or rework for my projects.
To get a third person, you just reverse and invert the location, position parameters of the arguement.. at least I think that's how I did it (dont have my switch right now to confirm this)
I've been wanting to setup a template for this, i'll try get it done this week to share to you :)
-
Thanks, I'll try the reversing thing. I actually used the tutorial as a template and modified it to create a rudimentary arena of sorts around the area. Initially, I thought the camera and ship would be a straight forward part to make. I realised it wasn't when I somehow accidentally made the ship (just a cube for now) fly away away from the camera and get faster the more I chased it. And later made it so it twitched and flew off in seemingly random directions, and twitch back again the closer I got, the whole thing looked very quantum.
If I recall correctly, didn't you make a program where you can fly between some stars? That actually seeded the idea for this project, I'm going for something similar.