Camera location and 3rd person movement

I’m too lazy to type it all out again, but here is a link to a way I do it using logic bricks:

It works, but it is not the best solution (it is what I always do for a character like that)