I have a scenario, where a group of balls is hit by a single ball. On contact the group of balls are supposed to scattered. For this purpose, I have put each ball movement in a seperate thread. But when I run the threads, the movement is not smooth. They are jerky. Any solutions for this?
Have you considered giving each ball a "tick" method, and having a Canvas with a thread that successively ticks each object according to a virtual clock? The canvas also being responsible for drawing the animation too (in it's basic animation loop).