User Tag List

Results 1 to 3 of 3

Thread: Always Angle towards object from hot spot

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Bree's Avatar
    Join Date
    May 2014
    Posts
    317
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Always Angle towards object from hot spot

    Hello!

    I'm trying to make this little red guy with the yellow tip always face and move towards one of my objects and I got it SORT of working... but if you click to the side of the object it kind of floats sideways towards it. I was hoping the yellow tip of the object would always face towards wherever my other mouse object was but it isn't quite working out that way . I'm imagining the red line as a boat basically and the yellow tip should always be forward and the red body behind it.

    Anybody have any ideas how I can tweak this to get it to work?

    Thanks for any help!!
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    Hi Beejers,

    trigonometry sails high on the forum these days!

    If you use angles, you should likely only use one animation direction,
    as angle would already take care of directions
    (or clone same shape/hot spot in other directions and change other details like color etc. if you like to)

    otherwise other animation directions will mess up the final effect
    (because hot spots positions will jump while changing direction, shifting the object noticeably)

    In short, I guess you would like something like this:

    angler_1.mfa

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Bree's Avatar
    Join Date
    May 2014
    Posts
    317
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Yes it does! Makes me wish I would have taken some courses in it!

    Thank you SO MUCH! That's exactly what I was trying to achieve. Funny I knew at one point I needed to divide by 11.25 but I kept trying to divide my ATan2 equation instead, didn't even think of Set direction to angle/11.25. So cool, thank you!!

Similar Threads

  1. Changing hot spot/action spot at runtime?
    By Petedevlin in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th October 2013, 09:48 PM
  2. Change hot spot and action point for all frames in object.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th October 2012, 09:22 PM
  3. Object Mover Bug - assumes Hot Spot is Top Left
    By AyreGuitar in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th May 2012, 10:00 AM
  4. change hot spot on every frame in active object
    By Bogeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st September 2011, 12:45 PM
  5. Angle From Object Problem
    By Atom in forum File Archive
    Replies: 10
    Last Post: 18th October 2008, 10:34 AM

Posting Permissions

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