This thread is to host code to detect collisions of different shapes such as lines, rectangles, and ovals.
This is very needed in Sc with the drawing commands as people will want to take them higher and further then ever before. It'll also become popular in Gm as Al will implement them eventually.
Now I am in search of such code/formulas and shall post them when I find/figure them out. Here is the code for collision with these shapes:
Line - Line:
Line - Rect:
Line - Oval:
Rect - Rect:
Rect - Oval:
Oval - Oval:
If any of you know how to get intersection/collision points of either shapes, please post!
-Gandolf