playMaker

Author Topic: Magnet force  (Read 2177 times)

sisay

  • Playmaker Newbie
  • *
  • Posts: 3
Magnet force
« on: February 01, 2013, 03:48:35 PM »
Hi,
maybe you have some idea, to make a force of attraction.
I want some object to attract a ball. (A similar principle as a magnet).
The closer the stronger the attraction.
Help please.

arilarikins

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Magnet force
« Reply #1 on: February 02, 2013, 02:46:38 PM »
Hi Sisay - Here you go...

Not sure how to make it stronger as it gets closer, but it's a good place to start.

http://www.hutonggames.com/sampleScenes/AddForce/AddForce.html

Harry
« Last Edit: February 02, 2013, 04:05:27 PM by arilarikins »