Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: UE 4.8
more ▼

asked Aug 07 '15 at 05:11 PM in C++ Programming

avatar image

11 3 5 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question