User Tag List

Results 1 to 9 of 9

Thread: Follow by Angle?

  1. #1
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Follow by Angle?

    Ok... simple question, how to always "look" to another character?

    I trying using Snippet but it doenst give me the right angle I want.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    Eh, the angle would be Atan2(y2-y1,x1-x2) IIRC

  3. #3
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    Not working.. why the IIRC anyway?;;;

    What happens is, it is rotating, but not the top of the object (I am using the triangle) the only part following it is the left side of the triangle, not the top.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2007
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    set the Actionpoint in the Picture to right site und in events make you Always ----> look at actionpoint

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    IIRC = If I Recall Correctly.

    And I'm not sure what you are referring to with "triangle"

  6. #6
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    By triangle I mean... the point of the gun

  7. #7
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    Still can't do it = /

    Chaning looking position, or not, it is always on the wrong side...

    I already searched into tutorials and NOTHING.

    ---

    I just want the "triangle" to turn around, walways looking to "square", but somehow, the point of the triangle is always looking to the wrong side (and yes, I changed active point)

    thanks =]

  8. #8
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,537
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    place the hot spot of your triangle to the middle, too
    if the triangle is always facing the exact opposite angle, then you could simply add 180 to the angle in that equation, or reverse the positions of the X & Y points (y1 - y2, x2 - x1) which do exactly the same thign

  9. #9
    Clicker Fusion 2.5 Mac

    Join Date
    Dec 2008
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follow by Angle?

    Did it xP

    It was just a small mistake... I forgot I had to draw the object facing right (just as a game character), the point of the triangle was facing up, so it was working the wrong way : x

Similar Threads

  1. Follow the frame?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th October 2010, 10:13 PM
  2. Follow Problem
    By Janman in forum File Archive
    Replies: 4
    Last Post: 6th December 2009, 06:41 PM
  3. Follow
    By Gameguy94 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd September 2008, 01:31 PM
  4. Everybody follow me!
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 21st April 2008, 03:01 PM
  5. Follow
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st June 2007, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •