Page 1 of 1

Rotation Sequence used in P3D

Posted: Mon May 11, 2020 3:57 pm
by shouvik1984
Greetings,

As I have understood that left hand rule followed in P3D I would like to know what is the rotation sequence that is used to get the pitch, roll, yaw angles. As we all know the aircraft attitude quantities are coupled and pitch can affect roll angle.

Hence I would like to understand what is the convention followed in P3D. I am referring to something like Z-X-Y which will translate to Roll-Pitch-Yaw in P3D convention. I want to ascertain if this is correct, and if not what is the correct convention.

My objective is to convert it to other frame of reference and dimenstional quantities like Quaternions. Please refer Conversion_to_other_orientation_representations for more details

Kindly Help

Re: Rotation Sequence used in P3D

Posted: Mon May 11, 2020 4:12 pm
by Brady Butler
Hello shouvik1984,

On this page you can find GetPosition() and SetPosition(). I believe the vPHB variable's format is what you're after. These values are in world space. http://www.prepar3d.com/SDKv5/LearningCenter.php

Regards,
Brady