x

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"

GetHitResultUnderCursor sometimes isn't working

So i've been using this function for a while at had no problems but today I decided to raise my camera high above the map and it started causing trouble. From time to time the hit result does not happen and it returns location as 0,0,0

It's used all over my project but I made a simple demonstration in the controller. This is attached to a tick event, and I am simply printing a string whenever the vector is really low (below 1 in length which shouldn't normally happen). You can also see the demonstration in a gif below.

https://gfycat.com/BigLankyBarasingha

How can I solve this? Thanks.

alt text

Product Version: Not Selected
Tags:
blueprint.png (136.0 kB)
more ▼

asked Apr 06 '15 at 03:13 PM in Blueprint Scripting

avatar image

Algirdyz
143 11 12 18

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

1 answer: sort voted first

Have you tried setting the "Trace Visibility" to "Camera"?

Ockert.

more ▼

answered Apr 06 '15 at 04:20 PM

avatar image

Ockertvs
158 6 10 23

avatar image Algirdyz Apr 06 '15 at 04:29 PM

Thanks for the reply. I just checked and it's still the same. Building channel only blocks the terrain anyway.

avatar image Ockertvs Apr 06 '15 at 06:58 PM

Just did a test myself , changing Visibility to Camera ,fixed it for me.

If that did not work for you , I hope someone else could be of more help.

Ockert

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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