Hey
how can i go about making this,
Physics object to float towards another object (dragged by mouse) and hover around it.
Like you drag magnet and nails withing radius float around it
thanks in advance !
Use the Add force towards position action, and set it to the Object.X and Object.Y of the object you are dragging :)
Develop games in your browser. Powerful, performant & highly capable.
thanks for tip!
though it has one problem, object flies towards point, but then continues on. should not it turn back towards point?
in case anyone else wants to do same
scirra.com/tutorials/369/magnet-effect/page-1
Impulse + Set Angle towards point seems to do the trick