A new feature of Unity is the Cinemachine set of components:
Using Cinemachine ClearShot to switch cameras to keep the player in shot
Getting ready
This recipe adds to the scene created in the first recipe of this chapter, so make a copy of that project folder and do your work for this recipe with that copy.
How to do it...
To use Cinemachine ClearShot to switch cameras to keep the player in shot, just follow these steps:
- Open the scene provided, containing a 3D maze and character-MsLazer.
- Un-child the Main Camera from character-MsLazer, since we need this camera free...