- Home /
How to make camera not rotate with player, only move
Example: Runescape.
I want to be able to click and move my player, but the camera only to follow it in third person. Exactly like Runescape.
The way I got it now is I got a script for my player to move when I click on the game world, but the camera rotates in the same direction of the player... so what I'm saying is the camera is always behind the player..
I'm assu$$anonymous$$g your camera is parented to your player? If this is the case it will definitely rotate with the player. I would parent your camera to a empty gameobject I usually name "CameraParent".Set "CameraParent" to the same position as your player (parent set to 0,0,0 then unparent), then set the camera to the angle and distance you need to be away from your player. In your script make it so that whenever you move the player "CameraParent" moves to the position the player moves.
Your answer
Follow this Question
Related Questions
Why is left going right, and rights going left 1 Answer
Camera rotation around player while following. 6 Answers
I want to rotate the model to face player, not bend? 1 Answer
I need animate arms with script when I rotate my character like in Escape of Tarkov 0 Answers
Rotate camera and player to face object 0 Answers