The Daily Click ::. Forums ::. Klik Coding Help ::. X mouse Y mouse
 

Post Reply  Post Oekaki 
 

Posted By Message

Ganymede Graphics

Possibly Insane

Registered
  17/04/2006
Points
  2711

GOTW JANUARY 2011
8th January, 2007 at 00:50:42 -

Lately i've been using an active picture to change the angle of and active object to the direction of the mouse. But I don't find it good enough if I want to have more than one object looking at the mouse, because obviously i'd have to create the same amount of active pictures. Someone told me that you could use the advanced math object to point it in the direction of the mouse, and I think that'd be alot better for my needs. Does anyone know the code that would do this?

 
Especially that.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
8th January, 2007 at 01:25:06 -

TGF/MMF/MMF2?

I dunno about Advanced Math object, but Angle Calculator has an expression to get the angle between two points. Use that.

 
n/a

Ganymede Graphics

Possibly Insane

Registered
  17/04/2006
Points
  2711

GOTW JANUARY 2011
8th January, 2007 at 01:48:08 -

MMF 2

 
Especially that.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
8th January, 2007 at 02:05:21 -

Well, then download Angle Calculator (I believe it was included in bonus pack 1), and use the angle between two points function.

 
n/a

Ganymede Graphics

Possibly Insane

Registered
  17/04/2006
Points
  2711

GOTW JANUARY 2011
8th January, 2007 at 03:17:50 -

ok thanks

 
Especially that.
   

Post Reply



 



Advertisement

Worth A Click