Flight plan and alltidute

Hello to the community!
I wante to share a problem planning a new flightplan for an orthomosaic that i want to do.
My flat take off/landing area is 40 meters lower than a single rock ellemnet that i want to map so i am asking if in the flightplan i will set the altitude of the pictures taking at 10meters, how the drone will count it: from the takeoff point or when it will high up on the rock??? Wiil it detect automatically the alltitude changing or i will have a collision problem hitting the rock??

Thank you and looking forward for answers

Terrain following is not a feature and the home point elevation is used as zero AGL so if you want to fly 50m over the rock then your will need to set your flight altitude as 90m.