Comparison of motion between two objects