By getting the collision you mean the X/Y coordinates of the point where that line collides with the wall or ummm... and in this context the origin point is supposed to be where that line is tagged on the player? Maybe because it's too early but in spite of those 2 images I can't figure out what you actually mean.
I think that is what I wanted to know.
Explaining stuff has never been my strong suit. But I may have figured out how to perform what I was getting at...
LOLSOLVED.
As you see in this example, but I'm unsure of the lag potential of performing this among other things. If theres any optimised form of this, I'd like to know, until then, it's solved.
This was made in the latest, or next to latest, version of Construct. So events and objects might differ if your using older versions (Pre 0.99.6 or 0.99.62).