Computes the quaternion that rotates defaultDirection onto the direction from startPosition to endPosition.
defaultDirection
startPosition
endPosition
The origin of the target direction.
The point the target direction points towards.
The direction the rotation starts from.
The quaternion that will receive the result.
The target quaternion, set to the computed rotation.
target
Computes the quaternion that rotates
defaultDirectiononto the direction fromstartPositiontoendPosition.