mouse tracking

  • jimmy might fly
  • Born
  • Born
  • jimmy might fly
  • Posts: 2

Post 3+ Months Ago

hey! is there a way to get a movie clip to always face your mouse, im making a top down game and want the character to aim with the mouse.

cheers
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Check out http://www.moock.org/asdg/codedepot/ and go down to "motion > follow the leader" and there will be a file called "rotate towards the mouse". You might want to check it out. It's got some interesting code for checking angles between the clip and the mouse point.
  • jimmy might fly
  • Born
  • Born
  • jimmy might fly
  • Posts: 2

Post 3+ Months Ago

thanks alot man
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

I've yet to look at the code but the example is EXACTLY what I was looking for some time ago.

Thanks to moock.org, & lostinbeta :D <-BIG, BIG smile.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.