See those circles moving on that line when you get close? That's an illustration of how I sense the line (I place circles in those special spots). I might explain the math in a youtube tutorial someday, but beware, you need a good knowledge of algebra. Why did I share this? Well, I noticed that the higher the angle of my line, the less my detection worked and I thought the reason might interest some people. The reason it doesn't work: I use the x of the player to solve for the y of the line (along with some trig to account for the angle of the line). As it turns out, when the player hits a tall line with a high angle then the x of the player is what needs to be changed, not the y. Therefore the circle is placed in the wrong spot and the collision is skewed. I believe I can remedy this by solving for both the x AND y values and placing circles at both.
Yeah, the paragraph at the top is not the greatest writing lol. Anyway I thought that some people might find my line collision and this problem interesting. If you get stuck in the line then press r.