Another method for calculating the new position and rotation when attaching actors.