Back to Templates
Cinemachine

by Spatial

Cinemachine

How to use Cinemachine with Spatial with various camera modes.

C#

Camera

Space/Environment

Cinemachine in Spatial

Includes a scene and sample code showcasing how to use Cinemachine in Spatial. Demonstrates how to set a player avatar as the target for the Follow and LookAt fields of a Cinemachine virtual camera.

Features

  • Fixed position LookAt camera (could be used as a security camera)
  • Fixed orientation Follow camera (could be used for a sidescroller/platformer)
  • Dolly camera (could be used for cinematic shots and cutscenes)