camera that follows the player , whatever the gravity

Hello everyone ,
I would like, please, develop a camera script that follows the player while moving, (3 rd person view 3d game), but with the adequate same distance,adequate same height and adequate rotation, whatever the gravity (which changes)
thank you very much and good day.
Best regards .

Up