in some "bricks breakout" game , the paddle could give the ball some friction to help change the moving direction of the ball.
but when i try this, if there is friction on the ball, it makes the ball flies slower, and finally stops...
moreover, checking and setting the velocity in a tick function is so ugly a way.
do you know how to keep the velocity of the ball while not setting the friction to zero?
but when i try this, if there is friction on the ball, it makes the ball flies slower, and finally stops...
moreover, checking and setting the velocity in a tick function is so ugly a way.
do you know how to keep the velocity of the ball while not setting the friction to zero?