is it possible for camera2d to stick on path2d while following relatively to player's position?
if so, how to achieve it?
something like this:

in this illustration, the player is off-center from camera on x-axis, but centered on y-axis because the camera sticks in the path
the reason behind is because I want to move my player on not straight room and I want to fix a camera on certain axis on certain sections (like move only on x axis on straight right room).
at the moment I have no idea what to do other than changing camera's limit and detect using area2d per sections to change the limit, but it's not good enough as intersecting areas wont be able to get transitioned smoothly. the camera will snap into other section after going little bit far from the current area