Hey all,
I'm currently using a simple 2D virtual camera to follow my player in a sidescrolling platformer.
I'm trying to figure out how to pan the camera slightly up or down based on the input with the right analog stick being pressed up and down.
has anyone accomplished this? Cinemachine and controlling it through code gets me quite confused..
Do I need a separate virtual camera to handle this? Or do I deactivate the player from being followed for a moment, and then reactivate it after...
Cinemachine 2D Camera - Pan up and down with right analog stick
I'm currently using a simple 2D virtual camera to follow my player in a sidescrolling platformer.
I'm trying to figure out how to pan the camera slightly up or down based on the input with the right analog stick being pressed up and down.
has anyone accomplished this? Cinemachine and controlling it through code gets me quite confused..
Do I need a separate virtual camera to handle this? Or do I deactivate the player from being followed for a moment, and then reactivate it after...
Cinemachine 2D Camera - Pan up and down with right analog stick