User Tag List

Results 1 to 8 of 8

Thread: Set Position to...

  1. #1
    Clicker Multimedia Fusion 2
    Wolfking_Warrior's Avatar
    Join Date
    Aug 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Set Position to...

    So, I have this large, spinning wheel. (Imagine a Ferris wheel.)
    I set the Hot spot in the center, to make it turn around a single point.
    Then, I created 7 actives to rotate (At the same time) around the wheel, each on their own point.
    At this point, nothing happened.
    I tried to create it so that the actives would be set on the Action Point instead, and ended up confusing myself more.
    I then tried to fix it by using the ellipse motion tool, which failed as well.

    How can I make it so that the actives will move on time with the rotating wheel?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Action Points Example
    Author: MuddyMole
    Genre: Example
    Extensions Needed: None
    Description:
    Did you ever need multiple action points? Such an unusaul example, and one of a kind, I just had to include this.
    Instructions:
    Run the mfa.


    Link:
    http://castles-of-britain.com/mmfexamples-a.htm


    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Give each an Angele_ and a Radius_
    Use Sin and Cos to position the Actives relative to the Ferris Wheels Hot Spot

  4. #4
    Clicker Multimedia Fusion 2
    Wolfking_Warrior's Avatar
    Join Date
    Aug 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nivram, the download doesn't work for me.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    If you just have evenly spaced objects moving in a circle, it's probably easier to use maths.

    eg.
    + Whenever...
    -> Object: Spread value "0" in ID

    + Always
    -> Object: Set X position to X("Wheel") + (Cos( Angle("Wheel") + ID("Object") * 360 / 7 ) * Wheel_Radius)
    -> Object: Set Y position to Y("Wheel") - (Sin( Angle("Wheel") + ID("Object") * 360 / 7 ) * Wheel_Radius)

    If you want to download the other example, you can find it here: http://www.sketchy.co.nf (the file called "Multiple Action Points"; also take a look at the file called "Orbiters").

  6. #6
    Clicker Multimedia Fusion 2
    Wolfking_Warrior's Avatar
    Join Date
    Aug 2012
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! I think I can finally get it working now.

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    And I don't know why the example will not download from my site. Now we are both frustrated, because it works for me.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Set Position to...

    You can futureproof that equation by replacing the 7 at the end with Number of Objects ("Object"), so that if you decide to add or remove objects they will still orient themselves nicely around it :-)


    Sent from my iPad Mini using Tapatalk HD

Similar Threads

  1. set position of object to position of rotating object
    By Bogeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th March 2012, 03:24 PM
  2. Set Position
    By Jibs in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th November 2011, 07:15 PM
  3. Position relative et position absolue
    By volgot in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th March 2011, 04:08 AM
  4. Screen position relative to taskbar position?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd April 2009, 08:55 PM
  5. [Help!] Position
    By Zido in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd March 2008, 06:59 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
  •