I have a static mesh that I am instancing to different positions with different orientations. The static mesh’s up vector is (0, 0, 1)
and I want to rotate the static mesh so that the up vector is now my arbitrary vector V
.
I have tried using V.ToOrientationRotator()
but the static mesh is not rotated correctly. I can’t seem to figure out the maths in my head to do this and there are so many vector → rotator functions that surely one of these will do what I want.