Smooth Camera Example

9498
9499
13
14

Arrow keys to move.

This example places the camera inside its own object, so that the camera movement can be customized separately from the player. This can be used to create many types of camera or cinematic effects.

In this example, the camera is just following the player with some easing to provide smooth motion.

See this video for a description of how it works, and other ideas: Juicing Cameras with Math

Editor