Sidchou

Objective: using cinemachine brain to create custom camera blend

We tried using the blend camera to customized camera blend. This can also be done with cinemachine brain, under main camera.

It allows you to set different kind of blends between different sets of cameras.

--

--

objective: create 3rd person game functionality of aim and death cameras

For this, i will be using the with the 3rd person starter package.

First create the scene with a ground plane and the 3rd person controller.

--

--

Objective: create Camera driven by animation states.

State Driven Camera let you create virtual cameras driven by the animation state of the object. One of the example of using state driven camera would be in a FPS game, depending if the character is aiming or idle, the camera switch between close up and a wide shot.

First I prepared 2 animation that switch can switch with a bool(article of creating animation states). ps idle was spelt wrong :P

Next, create a CM StateDrivenCamera, and create 2 different virtual cameras for the states. Include the Animated Target, and connect the states to the cameras.

--

--

Objective: create clear shot camera

Clear shot camera is camera control based on visibility. I put in some walls that can block the vision in some area, and set up 2 virtual cameras as below.

Create CM Clear shot camera and set the virtual cameras as children. make sure the 2 cameras are aiming at the character and added cinemachine collider extension.

--

--

Objective: using Blend List Camera to create security Camera

Blend List Camera let you to choreograph and switch between the virtual camera that are child elements under Blend List Camera

Create the camera under Cinemachine drop down, and you can add more cameras from drop down or duplicating existed one. The list in the middle let you plane how the camera switching between each others. and check loop for it to repeat on its own.

for the security camera, i have 2 cameras, they look at different directions. I can animate them so it switch in between 2 positions, and pause a bit before switching again.

--

--

Objective: adding Post Processing to virtual cameras.

Cinemachine allows us to have different post processing profiles on the virtual cameras. First install post processing and include profile like normal.

adding post processing layer to main camera and create a profile for volume

--

--

Objective: adding cinemachine collider and confiner to the virtual camera

There are many extensions for the virtual cameras, one of which is cinemachine collider. cinemachine collider allows camera to stop following the transposer when camera is pushed toward a wall. To add it go to extension and select cinemachine collider.

--

--

Sidchou

Sidchou

An Unity Developer who loves to create interactive and immersive experiences.