Imagine. You are playing the game/simulation. You are viewing the entity. If you press the 5-button on your keyboard the camera switches to the right position (wich follows the entity of the code you gave me).
I move the entity up and down with the q/a-button. But when I do that the entity goes up, but the camera stay at one place (the camera only moves when I press and hold the 5-button). So my question is: Is there a manner to move the camera without to press and hold the 5-button. So the camera is attached to the entity?