Vector addition is used when motion involves