Am writing a backgammon game and when the CPU moves I would like to move the pieces along an arc (yellow line in below screenshot) to give a hopping effect.
http://www.stephenoreilly.net/bg.jpg
The only way I can think of is to to calculate the center of the rotating circle (red triange in screen shot), and calculate the piece position by decreasing the inner angle (until the piece reaches its destination)… The maths for this is quite complexish but just about doable (for me!) but if anyone knows of an easier way would be appreciated. Thnx.
Apologies if this is documented but google/forum search didnt give me an answer.