How do I make an object attract another object?
What you could do is: Create a floor, a cube, a ball. The cube and the floor are Rigid Body, Type > Passive. The ball is Rigid Body, Type > Active. Into the cube, create (A) a Force Field > Force. In the Physics tab, give it a Strength of - 100 or whatever negative value. Play the animation, the force field should attract the ball.