Animation rotation of an object around another boject's fixed vertices I have this landing gear bay doors that I am trying to animate with a simple rotation to open at a 90-degree angle.  The bay doors are a separate object from the plane. The pivot point is where the 3d cursor is.

However, when the rotation takes place the main vertices and edge of the landing bay doors are totally off from the ones on the plane they should rotate around.

Is it possible to make the bay door rotate around the vertices and edge between them as indicated in red in the first photo?
Thanks for the help.
Yes this is possible.
It helps to be aware of a couple of things.

You can rotate an object around one of the 3 main world axies, by pressing R and then either X, Y or Z.

You can rotate an object around one of its 3 internal axies, by pressing R and then either X, Y or Z twice. (if you tilted an object a bit the world axies and the internal axis no longer align)

In order to rotate your bay door object around the red highlighted edge, you have to place the origin (a pivot) somewhere on this edge and align this edge with one of the 6 aforementioned axis and then make this orientation it's normal state, so to say, by applying the rotation.


So select your door in the 3D viewport, rotate it in a way so the red edge is parallel to a world axis (the X-axis for instance). Then (also in the 3D viewport) go to Object &gt; Apply &gt; Rotation.
Lastly rotate and move it back into its place on the plane. Now if you press R and then X twice, the door should rotate around the red edge.