User Tag List

Results 1 to 7 of 7

Thread: Is there a way to simulate magnets?

  1. #1
    Clicker Install Creator Pro
    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)

    Join Date
    May 2016
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there a way to simulate magnets?

    Hey all,

    So I'm making an electromagnet simulator for a school project. At first, I thought the Magnet object should do the trick, but it went very wrong. The nails were attracted to the magnet, then they would be shot out of the frame as soon as they touch the magnet. So I'm thinking on using movements for this, but I have no idea how. Can you guys help me with this?

    P.S:This is optional, but it would be more realistic if the nails can be magnetized and attract other nails as well.

  2. #2
    Clicker Fusion 2.5Android Export Module

    Join Date
    Sep 2010
    Posts
    538
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Actually i'm thinking that maybe set ball movement to the nails and have them always look at the magnet when it's close enough to affect them? Might require some tweaking though but maybe that's a simple way to do it? :-)

  3. #3
    Clicker Install Creator Pro
    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)

    Join Date
    May 2016
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've thought of that, but is there a way to apply physics to the nails?
    I've tried the Physics bouncing ball movement, but it doesn't work.

  4. #4
    Clicker Fusion 2.5Android Export Module

    Join Date
    Sep 2010
    Posts
    538
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry I don't know. I haven't actually looked into anything about physics stuff/movements

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes, use the physics object. It has the magnet object. I'm sure it's not easy to do and math would be involved. Maybe a more advanced programmer will chime in.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I tried this out and came up with this example. It works pretty well for what it is. Hope this helps and you can add to it and use it somehow.
    Attached files Attached files

  7. #7
    Clicker Install Creator Pro
    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)

    Join Date
    May 2016
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help guys! The example was great, but the magnet should only attracts objects in a certain range.
    I actually made another example using variables, it did the trick but looked pretty weird.

Similar Threads

  1. How to simulate key is pressed?
    By MonDieu72 in forum Fusion 2.5
    Replies: 11
    Last Post: 15th January 2016, 07:25 PM
  2. Simulate touch on iOS
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 12
    Last Post: 9th June 2013, 10:37 AM
  3. Simulate Liquids
    By Mycale in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th August 2012, 08:16 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
  •