So in my latest game I need to create an effect very similar to..
I have many ideas of how to do this, (most revolving around magnitude and acceleration/interpolation), but I'm interested to hear what ideas your guys may have before I decide which way is best.
@Manto1 - Thanks so much for the demo! What you did was my first thought, but I did not fully explain the situation. I need to have multiple magnets but also multiple pieces of metal (the little blue pieces flowing around). So all of these pieces must keep track on their own of which magnet they are nearest too. I'm thinking, for inside metal actors: When Touching actor Magnet, change self.zoom to true, and then... When self.zoom is true, accelerate toward Nearest magnet (how do I determine this?)
Should I somehow use magnitude or have many different magnet actors like magnet1/2/3 etc?
Comments
What you did was my first thought, but I did not fully explain the situation.
I need to have multiple magnets but also multiple pieces of metal (the little blue pieces flowing around). So all of these pieces must keep track on their own of which magnet they are nearest too.
I'm thinking, for inside metal actors:
When Touching actor Magnet, change self.zoom to true, and then...
When self.zoom is true, accelerate toward Nearest magnet (how do I determine this?)
Should I somehow use magnitude or have many different magnet actors like magnet1/2/3 etc?
Thanks for the help,
- Thomas
http://forums.gamesalad.com/discussion/comment/389695/#Comment_389695
I was able to modify it to use multiple balls
- Thomas