I just completed my "mimic" project that uses a sensor and Raspberry Pi mounted on a ball cap that uses WiFi to send the operator's head orientation to another Pi that controls a 3-Axis skull. I'm pretty happy with the results! (A shoutout to Greg G on Haunt Forum for the ball cap mount idea)
I've got a detailed description of the project posted on my blog, and the code is all open source and available on GitHub. You can view a demonstration on YouTube: