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"

GetRandomReachablePointInRadius returns origin as valid point

I have been playing with GetRandomReachablePointInRadius today and noticed something weird about return status. What I already know is that GetRandomReachablePointInRadius often fails and I need to repeat it multiple times on same location and always check if found point is not origin because when it returns origin it is clear that point is not random.

A few version ago boolean return value was added and it should show whether the check was successful. But see the gif, the clear line I am drawing consists of failed checks but it is sometimes green, even when I am sure that check failed because output value is same as input origin. Another thing is that points that look valid (are randomly scaterred) are often marked as invalid.

Only workaround is to ignore return value and always check if point is not same as origin.

Tested in clear top down template:

alt text alt text

Also I am curious how is it possible that checks on exactly same location sometimes fail and sometimes succeed.

Product Version: UE 4.16
capture.png (105.7 kB)
more ▼

asked Aug 10 '17 at 01:33 PM in Bug Reports

avatar image

81 4 7 12

avatar image Skylonxe Sep 07 '17 at 04:06 PM

bumpy bump

avatar image Skylonxe Sep 21 '17 at 03:59 PM

Bumpy bump

avatar image Skylonxe Oct 09 '17 at 12:49 PM

test it atleast please and add it to bug tracker, so it will not lost.

(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