My ball is both attracted to the top and bottom wall and thus making rounds up and down. What might be causing this?

I urgently need help to fix the ball going up and down on the Game screen floating in the space. What could be causing the problem of gravity in both directions: top and bottom while the ball is in the air?

Privacy & Terms