• Compute the relative transformation from source to target.

    Parameters

    • out: quat2

      The destination.

    • source: quat2

      The source object.

    • target: quat2

      The target object.

    Returns quat2

    The out parameter.

    Note

    • The result transform is expressed in the target's space.
    • In order to get the world transform of source, the target's world transform will need to be multiplied by the result of this function.