User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: How do you stick one object to another at position and direction?

  1. #11
    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)
    If I got it correctly,
    maybe this could work?

    StuckRotation_1.mfa

  2. #12
    Clicker Fusion 2.5

    Join Date
    Sep 2006
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Peeerfect. I love you!

    Although sadly, I have pretty much no idea how you did that.

    I don't know what "OAngle" and "ODistance" are.

  3. #13
    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)
    Oh that's pretty simple!
    OAngle gets the angle of an object from a specified X,Y point
    ODistance gets the distance of an object from a specified X,Y point
    (you find both in the expression editor under "position" submenu of the object)

    So, since we want to move the object in a fixed circumference around a central point (bigblue hotspot)
    I just saved the "distance" as the radius of the circle,
    and rotated the object position at moving angle of the radius
    (then rotate the whole object to same angle as bigblue to keep it angled in the same way)

    glad it worked ok!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. help... Stick to a rotating object
    By Tuna in forum Fusion 2.5
    Replies: 5
    Last Post: 27th November 2014, 08:50 PM
  2. [OUYA HELP]Set Active position by Right Stick
    By paobrasil in forum Android Export Module 2.5
    Replies: 1
    Last Post: 2nd June 2014, 10:07 PM
  3. Replies: 5
    Last Post: 1st March 2014, 12:31 PM
  4. Position the virtual stick
    By Nellatermica in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 12th May 2013, 08:38 PM
  5. Stick to object bug
    By Evilized79 in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 1st February 2012, 05:31 PM

Tags for this Thread

Posting Permissions

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