0

I have 2 vectors in 3D space, for example:

enter image description here

If I know these 4 points, is there any method to find out the euler angles of them? I am trying to move these two vectors to the origin, then assuming these two vectors are rotated from two reference vector, which have the same length of these two, for example (0,0,z1),(0,0,z2). But I do not know what to do next. Am I in the right way, or is there any other method to find out the euler angles?

BTW: I have got some ideas from this answer but I do not know the meaning of the final matrix :(

Siong Thye Goh
  • 3,518
  • 10
  • 23
  • 31
  • yes convert the vector you want to transform to euler angles into 3 perpendicular unit basis vectors (using cross product) and then just use this: [Is there a way to calculate 3D rotation on X and Y axis from a 4x4 matrix](https://stackoverflow.com/a/56950130/2521214) note that single vector have infinite euler angle configurations leading to the same direction for single axis.... if you got 2 or 3 perpendicular vectors then there is single solution for vector and plane 2 solutions... – Spektre Jul 09 '19 at 13:27
  • Thank you Spektre, I will need some time to think about this. – Huang Jingwen Jul 10 '19 at 14:06

0 Answers0