hi everyone im trying to create a topdown game so i
create a camera, and rotate it 90 degrees so its facing downwards but when add a the smooth follow it goes like a FPS camara what i want is that my camara follow my character in 90 degrees i hope someone help me.
1 Answer
1Sounds to me like your camera should have a fixed y position, and the x and z positions should follow that of the target. You can make a very simple camera script like this:
var target:Transform;
function Update() {
if(target) {
transform.position.x = target.position.x;
transform.position.z = target.position.z;
}
}