I am a member of SpoonGames.com we develop flash games and provide a voice for amature game makers. I am currently working on a Street Racing game. But I'm having some problems with collision detection. I have worked out how to do it with one point e.g.



onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
speed = speed + 1;
}
if (Key.isDown(Key.DOWN)) {
speed = speed - 1;
}
if (Math.abs(speed) > 20) {
speed = speed * 0.7;
}
if (Key.isDown(Key.LEFT)) {
_rotation = (_rotation - 15);
}
if (Key.isDown(Key.RIGHT)) {
_rotation = (_rotation + 15);
}
speed = speed * 0.98;
x = Math.sin(_rotation * Math.PI/180) * speed;
y = (Math.cos(_rotation * Math.PI/180) * speed) * -1;
if (!_root.wall.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.6;
}
}


but I want to do it with more than one point like one in each corner of the car. I would also like to icorperate a speedo, skids, and skid marks.

Got any ideas?