Stuck Bouncing Against Wall
I am making a game where a ball is bouncing against the walls in an enclosed square. And as soon as the ball gets fairly close to a wall and is moving relatively parallel to the wall it gets "stuck" almost grinding the wall, never to separate! It will just go back and forth on the same line. I want much more of a random bounce so this never happens. The balls movement is simple a timer that for .2 sec runs a accelerate towards code. I set a max high speed, turn bounciness up and have the balls collide with the wall tags. I know I need to change an attribute when the balls collide with the walls but not sure exactly what to change.
Thanks in advanced.