![]() |
VOOZH | about |
Timeline is a Visual tool for creating cutscenes, animations, and sequences. You drag and drop clips on a timeline. Cinemachine is a Smart camera system. Cameras can follow players, switch between angles, and create smooth movements.
Timeline comes built-in with Unity.
Step 1: Cinemachine - Create Virtual Camera.
Step 2: Select virtual camera - In Inspector:
Step 3: Adjust Body settings (how camera follows):
Step 4: Adjust Aim settings (where camera looks): Dead Zone – Small movement without camera moving
Step 5: Disable Main Camera (Cinemachine takes over) - Press Play. Camera follows player smoothly.
Add shake for explosions or hits.
Add Cinemachine Impulse Source component to camera. Call ShakeCamera() when needed.
Example:
PlayableDirector controls the Timeline. Play() starts the cutscene.
| Cinemachine | Manual Camera Code |
|---|---|
| No coding needed | Must write movement logic |
| Built-in smooth follow | Need to implement Lerp |
| Easy camera switching | Complex state machine |
| Impulse shake ready | Manual shake code required |