How do I create a ball and socket joint that is interactive?

9470-arm.png

I tried using a physics constraint and I think I am having a compile issue as well as a mouse interaction problem. The angle is twisting on playing or simulating. That was the first setting and now any other setting it does the same thing. Do I need a constraint bone as well?