How to get heading, pitch and roll from the two points

here‘s the code (for some reason the original link doesn’t work anymore):

2 Likes