Hello everyone.
I'm trying to make a game where you control the body of a dragon with WASD keys and her head tracking the mouse movements.
But I'm stuck trying to make the head moving only inside a circular area around the body (neck limit).
I found this tutorial:
http://www.scirra.com/tutorials/127/mousemoves-1-to-1-movement]this tutorial
which speaks about conditional mouse tracking in its last paragraphs but I don't figure how to apply it to my problem.
Thank you in advance and sorry for my poor English.