User Tag List

Results 1 to 3 of 3

Thread: Mouse following (again)

  1. #1
    No Products Registered

    Join Date
    Feb 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mouse following (again)

    Hi ,

    I am working with demo version of f2 developer edition .
    I need some help . lots of people asked the same question before but it doesn't works with my version I guess. (there is no Atan2 function )

    I want my object to rotate and follow mouse.
    I ve created an area for this.
    and wrote the function like that.

    ATan((((Y( "Lt blue button info" ))-YMouse))/(XMouse-((X( "Lt blue button info" )))))

    I ve used an button instead of an object.(no matter it shall work )

    it rotates but not actually like that I want.
    I guess returning angle values are not between 0-359 so it fails.

    what shall I do.
    Please help.



  2. #2
    No Products Registered

    Join Date
    Jan 2010
    Location
    France
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse following (again)

    Try to use the extension Clickteam Movement Controller, it has a function to get the angle beetween two points without maths

    Or try :

    Floor(ATan2(Y("Lt blue button info")-YMouse, XMouse-X("Lt blue button info")+180)
    EDIT : Oh sorry you're using demo, i can't help you :/

  3. #3
    No Products Registered

    Join Date
    Feb 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Mouse following (again)

    hmm.. seems there is something called "Clickteam Movement Controller"

    what else..
    there is always a solution in democracy...

    try to find it.. thanks for your reply

Similar Threads

  1. change mouse point and shoot with mouse?
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 13th February 2011, 04:55 AM
  2. [Suggestion] Mouse Wheel & Middle Mouse
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th May 2009, 12:39 PM
  3. Mouse Movement prevents mouse click event?
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd March 2008, 02:52 AM
  4. Mouse click events runs faster when mouse moves
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd February 2007, 02:54 PM
  5. Mouse click doesnt work when Mouse movement used
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st September 2006, 02:24 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
  •