camera Z axis relative to surface

Im trying to find out how to have a pawns camera on a spring arm, rotate from mouse input in such a manner that the planet is always “bellow” the players point of view.
Currently as you orbit the xyz is a fixed frame, wanting to have a frame thats relative to the planet surface, diagram bellow