Leader and Follower: Interactive Motion Generation under Trajectory Constraints