We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I want to orientate an image toward a point. In fact that's an arrow, and I want it to point my mouse. How can I do it ?
atan2() will tell you the angle from one point to another.
then you can just use rotate(). assuming it's 2d.
Thanks a lot, it is exactly what I needed !