Camera FramingBehavior

Hi there,
I’m wondering if it is possible to adjust the y coordinate of a camera with framing behavior.
For example: https://www.babylonjs-playground.com/#6FBD14#2
The camera will frame like this:


I’m looking for a method to automatically adjust the y coordinate like this:

I’ve tried setPosition again after “setTarget”, but it didn’t work.
Thank you so much!

something like that?
https://www.babylonjs-playground.com/#6FBD14#242

Thanks!!