Character Attracted To Object Like A Magnet

Discussion in 'How Can I...?' started by Bluemusic, Apr 8, 2020.

  1. Bluemusic

    Bluemusic Boxer

    Joined:
    Apr 7, 2020
    Messages:
    59
    Likes Received:
    10
    Hi
    Is it possible to add some nodes to make one object attract another (or Character)?
    I´ve been searching all over the place to find out if this is a possible.

    I also wonder if I can make some sort of force to de-attract.

    Help much appreciated:)
     
  2. Bluemusic

    Bluemusic Boxer

    Joined:
    Apr 7, 2020
    Messages:
    59
    Likes Received:
    10
    Can anyone confirm or debunk that there is possibilities to make objects and character attract with magnet?
     
  3. b0x3r

    b0x3r Boxer

    Joined:
    Apr 5, 2020
    Messages:
    30
    Likes Received:
    6
    Yes. Magnet-like functionality is achievable. It involves the Attract node.

    Watch this video for a walkthrough...
     
  4. Bluemusic

    Bluemusic Boxer

    Joined:
    Apr 7, 2020
    Messages:
    59
    Likes Received:
    10
    Interesting. I might work for what I am thinking though it´s something very different than powerup:)
     
  5. Rodrigo Schneider

    Rodrigo Schneider Boxer

    Joined:
    May 21, 2020
    Messages:
    18
    Likes Received:
    1
    Hello!
    I started using Buildbox few days ago and I have a question where I couldn't find a solution. I am making a very basic game for children, where they need to drag some colorful geometric shapes (Characters) to their respective silhouettes (Enemy). Up to that point, all right!

    My question: is it possible to make the silhouette attract the geometric shape when it passes close to it? I've seen this effect happen in jigsaw puzzle games. Once the piece sticks to the right place, it cannot be removed. Thanks

    Here an example:
     

Share This Page