Question by
kostaivanov · Apr 20, 2020 at 01:10 PM ·
camerascript.unity 2d
2D Unity Cinemachine - move right at certain speed and follow player only on Y axis
Hello,
is it possible to make my Cinemachine camera move right at certain speed by ignoring my player's position on X axis and follow player ONLY on Y axis (if he jumps or falls for example). Basically my goal is, the camera to be moving at all times at certain speed and once my player touches the left bound of my camera to die. I want my camera to react only on Y axis moves. So far I could have find only a Cinemachine extension that freezes the X axis but couldn't adjust it to move , but that doesn't work for me.
hope I described it well.
Thanks and regards.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612231949im_/https://answers.unity.com/themes/thub/images/avi.jpg)