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"

Cannot get traces to return hits

I have got a problem with tracing in blueprint in that whenever I trace something I get no results whatsoever.

alt text

alt text

In the example, I have set up a staticmeshactor to do a spheretrace. No matter what objects I set for detection, it won't return a true. I have double checked the actor's object responses and it has been set to BlockAll, so as far as I know, I should at least get it to return a true on itself. I have also tried a trace by channel, but it's the exact same result. Nothing.

Since I am trying to do the behavior tree tutorial, I really need these traces to work. At the moment, I cannot get that tutorial to work either since, again, no matter what I do the traces simply return nothing.

Product Version: UE 4.8
traceerror.jpg (423.5 kB)
traceerror_bp.jpg (491.1 kB)
more ▼

asked Aug 10 '15 at 09:36 AM in Blueprint Scripting

avatar image

815 29 24 102

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

1: is your input array of object types to detect populated.

2: On the end location add a small vector of 0,0,15 I think the sphere traces works by moving a sphere for X radius along a line from start > end, therefore your end needs to be different from the start point.

Also make sure if your detecting all object types to ignore yourself.

Like This

more ▼

answered Aug 10 '15 at 09:57 AM

avatar image

81 6 7 10

avatar image cridia Aug 11 '15 at 12:40 AM

It was the second. I had properly taken care of 1 (to the point of throwing in all possible objects at one point). I had no idea that the positions needed to be different. I thought that as long as the Radius was not 0, I would be good to go.

(comments are locked)
10|2000 characters needed characters left
Your answer
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