mouse tracking

  • jimmy might fly
  • Born
  • Born
  • No Avatar
  • Joined: Jun 23, 2004
  • Posts: 2
  • Status: Offline

Post June 23rd, 2004, 12:56 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 23rd, 2004, 12:56 pm

  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Joined: Jun 26, 2003
  • Posts: 1402
  • Loc: Philadelphia, PA
  • Status: Offline

Post June 23rd, 2004, 5:12 pm

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
  • No Avatar
  • Joined: Jun 23, 2004
  • Posts: 2
  • Status: Offline

Post June 24th, 2004, 5:56 am

thanks alot man
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post June 24th, 2004, 9:00 am

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.
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 23 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.