I am making a game that uses physics. I have a ball, and when it reaches a certain area, say
ball.x > 100 and ball.x < 110 and ball.y > 100 and ball.y < 110
I want the linear velocity of that ball to slow down, but not stop. I tried using ball:setLinearVelocity( 0, 0)
That works okay, but I still want the ball to have some, say half, momentum. Any thoughts?