LineTraceMulti strange hit location/results
I'm fairly new to c++ in UE4 and I'm already running into some problems with a line trace. This trace appears to be hitting like up in the sky versus straight forward from the camera like i would want it to. My suspicion is it has something to do with ShootTraceEnd. Im just not well versed enough to identify whats causing it. This is a pic of the original blueprints i used as a reference for the code. Also a pic of the angle the bullets are shooting at, and ultimately the direction of the line trace.
edit: This function is being called from blueprints and ran on server as well. Thought I should mention this.
End point need to be in world space too and camForwardVec is local space, so you need to add ShootTraceStart to ShootTraceEnd to apply offset to start position.
answered May 17 '19 at 08:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here