# Cinemachine

## Overview

After the Update of Animal Controller 1.2+  and Horse Animset Pro 4.2+ Cinemachine is the default camera rigging system.

To use it properly; find  the prefabs located on this folder:

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MTgnt0ZoQWYoBlJcpNL%2F-MTgtqDHZvy5bWnIdkjp%2Fimage.png?alt=media\&token=f78e6524-7279-45dc-9f13-fa8e9077bd9b)

Drag the **CM Brain** and **CM FreeLook Main** into your scene.

And that's it. You will have a basic working Freelook camera for all the animals that use the Animal Controller.

## Prefab settings

The CM FreeLook Main Prefab has an Event Listener with the Event **\[Set Camera Settings]**

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MTgnt0ZoQWYoBlJcpNL%2F-MTguVZv_Lsd6rgLhA6v%2Fimage.png?alt=media\&token=705825bc-58e2-4900-885e-b51cef030d7c)

That Event connects the Transform Value Received to the **Follow** and **LookAt** functions on the Cinemachine Freelook Component.

The **\[Set Camera Settings]** event is usually invoked on the Animal Camera Target child GameObject:

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MTgnt0ZoQWYoBlJcpNL%2F-MTgvLHacmLWNiLHdY9r%2Fimage.png?alt=media\&token=1f29a1ec-ecae-44d1-a994-982d3ee35089)
