Hi,
Anyone know how i can add a offset to this camera code ==>
camera.x = player.x - camera_dist * cos (camera.pan) * cos(camera.tilt);
camera.y = player.y - camera_dist * sin (camera.pan) * cos (camera.tilt);
camera.z = player.z - camera_dist * sin (camera.tilt);
I use it for a 3rd person camera and i want to add a offset for a "over shoulder camera" so i want to move the camera a little bit too the right of the character.
Thx.