I have been making a 3rd person fighter game and but i haven't made a good camera script yet. I made a script that can rotate my character (which is just a cylinder with a face) and make him walk and run, but i need a camera script. I would like to use the MouseOrbit script because it is what i am looking for, but i need some help. One thing is I need help with is when i rotate the camera to look, i would like the character to rotate as well to face the direction the camera is facing. How would i sript that? I tried to script it myself but obviously i don't know a lot of scripting.
i wanted exactly the same thing. do this:
that should so when your camera rotates your player also rotates
MAKE SURE you add this script to your player.
also, might want
to keep the player from rotating to look straight down (and be floating (perfect for space though))