now the image is for example in the center of the screen and on mouse click or move, whatever, should the image rotate so that it look towards the cursor (mouse position)you sure understand what i mean.

now... I just cannot comeup with a algorithm to do that, someone got an idea ? =)

Well I got a rotating Image Method using java.awt.geom.AffineTransformand wanted to know, how to rotate an image in the very direction of the mouse cursor, example: you move the cursor around and the image, a space ship rotates looking in the direction of the mouse cursor.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org