Using FramingTransposer while looking at something

Hey guys!

I have an issue that it’s breaking my brain out haha
I’ve always used Cinemachine for very, very basic needs and I don’t know how to make my camera behave like that:

You see, I need my camera to stare at the center of the scenario while following the target if, and only if, he reaches a certain distance from the camera. So I basically need a Transposer with a dead zone, but since on FramingTransposer has this option and I can’t use it while aiming at something, I don’t know how to solve this problem.

I tried to have 2 Virtual Camera, one that followed the target and the other that doesn’t, and switch between them when the player touches a collider on the scenario, parented to the camera. It didn’t work like I wanted because this blend between two cameras was very bizarre.

Does somebody know how can I make a camera like this one on the video? I mean, it’s exactly like it, is a very similar game =)

Actually it’s very easy. Framing transposer with a dead zone, following the player. HardLookAt in Aim, looking at the mountain.

EDIT: make sure you have recent CM - old versions would produce jitter with this setup.

1 Like

Omg Gregoryl, thanks! For some reason, I assumed that I can’t use any look at it when using Framing Transposer. I think I misread somewhere when reading about Cinemachine components.

It works perfectly! Thanks again.

1 Like