My project have similar concept as in the video, you go up on tapping and thus I want to achieve the same camera settings
As you can see, when I tap and cube goes up the camera starts moving only after cube have reaches a certain position, and after going up a bit the camera locks and doesn’t allow to go down anymore. I want to have same as this, go up and camera moves after a certain position and after a certain distance it locks. I am using cinemachine. If there’s any way to do it without script or I have to code. Please help
Thanks
I don’t think you will be able to do this without some simple scripting. I would make an invisible GameObject which will serve as the camera’s Follow target. Attach a custom script to it that will move it upwards to follow the player if and only if the player is higher than it.
Then make a CM 2D camera (Framing Transposer in Body section) that uses the invisible object as a Follow Target.
Maybe it’s time to learn some Unity scripting. This is not Cinemachine-specific, just a basic script to make a game object position itself in relation to another.