I think you would need to keep track of the angles at which they are travelling, so that when they collide, you figure out the `rebound angle` and combine it with the original angles, to move off in the right direction. I think that would involve taking the angle from the center of each circle to the point where the circles collided (which you work out with pythagoras?). Something like that.
When Two Objects Collide
BlitzMax Forums/BlitzMax Beginners Area/When Two Objects CollideThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.