SweepMultiByChannel() Always Returns False, Even When it hits the Object
I'm using this function, with the start and end at the location of the character. I just want to do a sweep around the player when a button is pressed, to see if a specific object is in the area. I am returning to a bool off of this function, to see if there was a hit. It always returns false, even when the hit does hit the object (I have the debug trace drawing turned on, so I can see that it did hit the object). I have setup a custom trace channel in the editor through the project settings, and I can see it in my defaultengine.ini. I am passing that channel to the function, and the only blocking hit I have turned on on the object is that trace channel. I'm not sure what is going on here. I believe that I have the trace channel setup correctly, because that seems to be where the problem lies. Even though it is hitting the object, It isn't registering that it hit the object. Is this the wrong function to use for this? On a line trace, it draws a debug point where it hits it, but doesn't on the this sweep. Does that mean that it is not actually hitting it?
asked Aug 07 '15 at 05:11 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here