Pipes cannot be rotated in Digimon World DS. You must align them so the end of one pipe touches the next.