If I had an object, say a ball that is named: ball
And I had another object that is just an image created with newImage that is named: magnet
How can I make that magnet image act like a magnet and pull that ball to it? I assume I’ll have to use some kind of function like applyForce, but I have no idea how to use that. I read the example about the applyForce function, but don’t know how I can attrack that ball when it is in range of this magnet.
Any help would be great. Thank you.
Matt [import]uid: 14084 topic_id: 7608 reply_id: 307608[/import]