Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
Take the last position and the current position. That gives you two points. Subtract the centre of the circle from these and normalise and you'll get two direction vectors. Take the cross product. You'll get a positive result if you are going one way, and a negative result if you are going the opposite direction. (By positive/negative I mean the direction the resultant vector is pointing).

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>