Troubles with DrawDebugLine function
I have this code in order to draw a debug line using the DrawDebugLine function: [deleted]
The problem is that anything I hit in the editor, the debug message tells me that I've hit myself:
In the StartPlug I added +60 to the PlayerLocation.Z in order to "fit" the raycats with the camera and not with the exact center of the body.
Help me please
I'll look at this for you and give your exact code a try real quick. I did notice something from just looking however. You're passing a nullptr in for the 2nd argument for the Trace function which you could set to "this" instead so that it ignores the character. Have you tried that?
answered Dec 03 '15 at 09:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here