Modifying line trace params causes P.I.E. crash.
I'm trying to implement a line trace (-Z) from the player pawn, all is going well bar the line trace hitting the pawn itself. After doing a bit of searching I came across jayice's answer on this question, a solution which to me made sense. However, trying to run the compiled code in New Editor Window (P.I.E) resulted in this crash, with the resulting log.
This caused some confusion as I wasn't expecting such a negative result. Unable to quickly find an answer on the web I turned to coming up with an alternate solution. This was to offset the line trace's origin, this too resulted in an error(). I'd assume a different one as I disabled the
I'm at a loss as to why this is happening and would appreciate some in figuring this out. The code in question is below, with the commented parts being the two different methods I used to modify the starting location.
If you want the full source for the class, just ask and I'll chuck it up on Google Drive.
asked Mar 11 '19 at 06:44 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here