The object and central axis vector of that object is given.
The central axis vector of the object starts from the origin (0,0,0) like on the picture: https://imgur.com/zZm6kY9
How can i rotate the whole object so the other end of the central axis (orange point on the picture) land on the z axis like on the picture?