Hi, I'm working on a ball physics game, for this, I'm trying to implement an obstacle where when the ball (the player) overlaps it, It needs to pull it to its center point smoothly.
From what I researched, I found that this can be achieved using either the "Apply force towards position" or "Apply impulse towards position" methods but not been able to figure out how exactly to do this.
Following is a screenshot of what I managed to achieve till now.
Can someone help me figure this out?