Implementing Third Person Cameras

Implementing Third Person Cameras

The secret to implementing a third person camera is to use Polar coordinates relative to your target object. Here's a couple of demos I wrote back in May to demonstrate the technique. One is a 2D version in PICO-8 to demonstrate the basics, another is a 3D demo in Godot. These are built for clarity rather than robustness, so aren't using time-delta based movement of the camera and should not be considered production ready code,

PICO-8 2D Demo:

Demo of how a 3rd person camera works in PICO-8
Demo of how a 3rd person camera works in PICO-8. GitHub Gist: instantly share code, notes, and snippets.

Godot 3D demo:

GitHub - alannakelly/third-person-demo: Demo of simple third person camera in Godot Engine
Demo of simple third person camera in Godot Engine - GitHub - alannakelly/third-person-demo: Demo of simple third person camera in Godot Engine