Got a simple question. I have an application where logos of plains fly randomly across. (They get a random new position of left-margin and top-margin at every X second). The next challenge to rotate them, in order that the head of the planes would stand towards the angle they are flying.
Didnt really find a solution how to do that. What we know only:
MARGIN-LEFT
MARGIN-TOP
But these values constantly changing as planes randomly flying. Any ideas or suggestions?
Aucun commentaire:
Enregistrer un commentaire