I am trying in a 2d game to have a fixed Z. I do not want the camera to follow the character if he is falling down a cliff for example.
Hey @remzXD
You can set the target offset in the SpringArmComponent component.
I am not sure how will looks when the offset is set on the fly.
Take in consideration your are moving the camera with the players. If you want to keep a camera at an specific height you may want to implement something custom for this case.
Let me know if you want help with that.