The Daily Click ::. Forums ::. Klik Coding Help ::. Setting angle toward a position
 

Post Reply  Post Oekaki 
 

Posted By Message

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
24th May, 2010 at 06:29:59 -

Anyone know a formula or something to set an angle towards a position/object?

You can do it with 'Direction' and the "look in direction of" action, just wondering how I'd do it with Angle.

 
lol

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
24th May, 2010 at 06:42:20 -

You can do it using the Clickteam movement object. Ill send you a PM

 
n/a

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
24th May, 2010 at 07:05:16 -

Cheers. Didn't realise that object had "general expressions"


 
lol

Solgryn

Solgryn dot org

Registered
  20/12/2008
Points
  12572

GOTW Winner!VIP MemberWii OwnerIt's-a me, Mario!The Cake is a LieGOTM 2ND PLACE! - APRIL 2009GOTM 2ND PLACE - JUNE 2009PS3 OwnerKlikCast #15 Compo Winner!LOL Sign
You've Been Circy'd!GOTM WINNER - JANUARY 2010I am an April FoolGOTW MARCH 2010 WINNER!Santa Hat
24th May, 2010 at 10:56:05 -

1 and 2 are objects

atan2(x1-x2,y1-y2)

EDIT:
Just read the topic
You can't delete a post? -.-

Edited by Solgryn

 
www.Solgryn.org

Image
   

Post Reply



 



Advertisement

Worth A Click