All Unity's documentation states about what FromToRotation
does is:
Creates a rotation which rotates from fromDirection to toDirection.
This seems to leave a major part undefined - what about the other axes?
I can't help but think of the saying - If it isn't documented, the behavior is undefined.
And there seems to be no documentation of what happens to the rest of the axes. Theoretically you could spin them around toDirection
as much as you'd like and still get what you were promised.
So, what exactly happens to the other axes when you use FromToRotation
?