how do racing games typically angle cameras to look as nice as they do when turning? How do they make it look natural and gradual, yet still functional?

964 views

how do racing games typically angle cameras to look as nice as they do when turning? How do they make it look natural and gradual, yet still functional?

In: Mathematics

10 Answers

Anonymous 0 Comments

I am developing racing game.

To add what other guys have said. It’s complex, but here is start solution. First you need to choose relative target point and rotation of camera. For example: you want camera to be 10m behind car, 3m above ground (or car to be more precise) and to point toward car and road ahead (that’s camera rotation). As car moves, target point moves. Camera itself has max acceleration and max speed, when trying to reach target. So camera is chasing target point, and since it has max acceleration, which acts as inertia, you get smoothing effect, no shaking.
Edit: typo

You are viewing 1 out of 10 answers, click here to view all answers.