My current code rotates a frame and follows the mouse, but not directly AT the mouse.
EXAMPLE PICTURE :
GIF :
https://gyazo.com/c9cf88c904d7fa0a961da6d70b1aec5f
Any ideas on how I can make it rotate and point DIRECTLY at the mouse?
My current code rotates a frame and follows the mouse, but not directly AT the mouse.
EXAMPLE PICTURE :
GIF :
https://gyazo.com/c9cf88c904d7fa0a961da6d70b1aec5f
Any ideas on how I can make it rotate and point DIRECTLY at the mouse?
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
Can't you just add a rotation to the current math?
It does rotate like I said, but off-centered to the mouse.
I posted a gif above for better explanation.
Could you show us the math/code you used?