I've search the forum for a similar post but only really found one from 2012 that wasn't fully resolved.
So in the hope that idea's and functions have changed, could people please give me their best suggestions on how to constrain my ball and socket.
Both these parts are self made as I'd rather learn how to make them than just download them. With that in mind they might not be exactly up to engineering standards but I'm sure they'll be alright for my purpose. Anyway, what I need to achieve, in simple terms, is that the socket inner (A) does not rotate past the ball base (B). I have played with trying to mate sketch's but only confused myself and ended up in a mess.
Parts are attached.