public GameObject Jogador; Vector3 distCompensar;
// Start is called before the first frame update
void Start()
{
distCompensar = transform.position - Jogador.transform.position;
}
// Update is called once per frame
void Update()
{
transform.position = Jogador.transform.position + distCompensar;
}
}
Mesmo após o novo código a câmera continua no pé do personagem! Já refiz a aula umas 3 vezes mas ainda não conseguir.