Making a magnet
![rodrigosw94](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi,
Are possible in the GS, make a magnet? I have two actors, the magnet and the box. I need the magnet take the box when the box is next to magnet.
Its possible? Making than collide.
Thanks
Are possible in the GS, make a magnet? I have two actors, the magnet and the box. I need the magnet take the box when the box is next to magnet.
Its possible? Making than collide.
Thanks
Best Answer
-
JohnPapiomitis Posts: 6,256
Answers
Im working on a project using magnets
When a projectile actor (A) is overlapping a magnet actor (B), B is influencing A with an accelerate toward behavior.
The toward should be the center of B, so I set up the coordinate and everything works fine. However, as the set up as to be made in A, it makes things very hard when you want to add multiple magnets into your scene. Every one of them has different coordinates.
Is there a way to deal with this?
Thanks a lot