Better Collision Technique

BlitzPlus Forums/BlitzPlus Programming/Better Collision Technique

The 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.

B+man, I'm not sure you understand the question...I KNOW how to make something bounce off of a wall. But not off of a brick. If the ball hit the bottom of the brick, you wouldn't want the x and y velocity of the ball to change....just the y. And if if hit the side, only x velocity changes. Corners, both.

If no one can help me with this, can someone at least explain collision between the ball and paddle, to make it where the direction of the ball depends on where it hits on the paddle?