Download

Issue With LineTraceSingle

I’m using the LineTraceSingle function from UKismetSystemLibrary and I can visualize the debug trace in my application.

I see a line going through the a character in the world and it changes color on the other side indicating that a collision has been detected.

However, the function returns false and the FHitResult information doesn’t have the actor hit, the bone name or the blocking hit set correctly.

Any idea what I could be missing here?