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"

(moveTo task) how to make it go to desired location

I am trying to get it to move to a specified location but it never goes to the right location. it just seems to go to some random one. I tried both the normal task or using the blueprint node with a custom task both do the same. i attached a basic project demonstrating the problem.

is this a bug?

alt text alt text Here is a simple project demonstrating the problem:


Product Version: UE 4.18
capturebp.png (184.4 kB)
capturebt.png (65.5 kB)
movetotest2.zip (2.1 MB)
more ▼

asked Nov 17 '17 at 02:20 PM in Bug Reports

avatar image

6 1 1

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

1 answer: sort voted first

Hey fsk,

I found the issue here. You were dragging a new "Random Reachable Point in Radius" into your Draw Debug Line node. This would mean that GetRandomReachablePointInRadius would be called a second time when the Draw Debug Line function is called, giving you a different value.

What you needed to be doing instead is getting the value of your blackboard key, which has the stored value of GetRandomReachablePointInRadius in it that you are using to MoveTo, and then draw a line at that location, as shown below:

alt text

This will ensure that you are printing out the same value that is stored in your Blackboard Key instead of grabbing a new value from the GetRandomReachablePointInRadius node to draw the line at.

Making those changes to your Blueprint will resolve the issue for you.

Have a great day

more ▼

answered Nov 17 '17 at 03:29 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

(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