Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Rotating source vector to destination vector (2D)

$
0
0
I am trying to rotate a vector to a goal vector. My main problem now is that I can't wrap my head on is which way to rotate the vector, so finding the "shortest" way to rotate (clockwise or counter clockwise).

Viewing all articles
Browse latest Browse all 17825

Trending Articles



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