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"

How can a SuggestProjectileVelocity return false with 'Do Not Trace' set?

I am trying to use SuggestProjectileVelocity but I could not make it to return true at any time at all, sadly.

No matter what values I use for Start Location and End Location (also making sure they are not the same actually), it will never find a possible route. Can anyone confirm that this is working with his setup and what values were used so I can try to recreate the situation? This would greatly help debugging this as I'm completely at loss.

There are quite some other questions here about that blueprint but most people seem to end up just working around it.


It seems that this is due this being a float value as it often overflows.
Changing to double should solve this issue (I calculated it and got values like 68359873171.992187 when using a double but negative values when using float.)

Product Version: UE 4.9
more ▼

asked Sep 19 '15 at 05:19 PM in Blueprint Scripting

avatar image

6 1 2 3

avatar image Grogger Nov 10 '15 at 01:23 AM

Thank you for posting the workaround, it has saved me time debugging why SuggestProjectileVelocity keeps failing!

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

1 answer: sort voted first

I have an issue with this method too. Unless I supply the trace parameter, it returns false for most frames. If I supply any trace parameter it gives the correct value every frame.

I've raised a bug report here: https://answers.unrealengine.com/questions/435995/suggestprojectilevelocity-behaving-badly.html

more ▼

answered Jun 14 '16 at 07:41 PM

avatar image

226 4 9 18

(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