Some time ago I wanted to make a walker game with an ironic story. But I wasn’t going to create level collision objects using cubes in the editor, you know how it is, so … [next sentences are flooded and unreadable] … thanks to @morgerion 's advice I decided to pass the array of dynamic light sources into the shader as the texture … [ink has faded over time] … because it’s great to have full control over the kinematic character and slow it down based on surface tilt … [page ripped out] … ok, but what if I want to make a cutscene like the UT 1999 intro?
This is a tweakable camera movement controller suitable for 3D games. It can help you smoothly control your character’s camera or make cinematic motion paths using checkpoints.
Showing your player the level by flying around and finish the flight by smooth attachment to the character — sounds like a classic use case.
Play HTML5 demo with flying like and following .
- Camera rotation and zooming by mouse controls.
- External manual control by messages.
- Following an object with avoiding obstacles.
- Smart alignment to the ground slope.
- Smooth movement along checkpoints using a bezier path.
- Switching between multiple cameras.
Local space coordinates and rotations are respected so you can fly between two moving objects without problems.
A wonderful bezier module with uniform position calculation comes as the bonus .
Full documentation is available in the GitHub repository .