I designed this bb8 star wars droid that can move. The head has a ball that can slide in the rails of the body.
I recommend printing the head pin side ways because this is the strongest way and with a raft. I also recommend printing the head with a raft. you need supports for almost every part but there easy to remove. you have to clean up some parts and glue them together.
assembly video: