Making objects follow the mouse
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 11485
Total Votes: 139 votes
Category: Flash/Math & Physics
Submitted on: 2008-04-02 11:25:04
Submitted By: Devesh Khanna
Description:Well, as a bit of background, I saw a Flash ad on the net a while ago, which had an object that not only changed its rotation according to the mouse angle, but actually followed the mouse around the screen. Which got me wondering how they did it. It’s actually not as hard as you might think. All it took me was about an hour of trial and error to get it working. More detail...