Arrrrrrrrrgh, stop making my head hurt! :colonveeplusalpha:
Your code is still incorrect I believe. Just because the two points of one line segment are on opposite ends of the other line segments doesn't mean they intersect because they're line segments. For example, a situation like this:
|
----------- |
|
|
|
|
The two points on the vertical line are above and below the horizontal line, but the segments obviously don't intersect. Of course, maybe I didn't read your code carefully enough since I only read the comments and glimpsed the code a little (it's hard to read on the forum and I was too lazy to copy it to Notepad++) and maybe you did catch that. Your Collision_Box_Laser is similar to how I was planning to do the collision detection eventually, but there are a lot of other issues I need to work out later as well. Anyways, like I said on IRC, I already generally know how I'm going to solve this problem and the line to line collision detection is probably gonna be handled differently than how you have it. More math, less if-else construction.