Same opinion actually, but on game jam time I wasn't able to make proper physics and just ran with these hardcoded bit lol
if (hooked) { | |
if (ballSpeed.x > -30 || ballSpeed.x < 30) ballSpeed.x += (mouseX - ballPosition.x)/200; | |
if (ballSpeed.y > -30 || ballSpeed.y < 30) ballSpeed.y += (mouseY - ballPosition.y)/200; | |
} |
Thanks for your input!