Look closely at Vader’s nether regions and you’ll see a little rectangular indentation, which looks like it could be some sort of door. That’s how part of it probably works, but as for the other end... I don’t know. Though with his cape on, maybe there’s another hatch we’re just not seeing...