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"

[Closed] Use Pathfinding in Move To Location or Actor

Please take a look at the attached sample project.

Click on Play and notice the character moves to the waypoint and then prints Success! Now move the waypoint outside of the navmesh and click Play. The character does not move and just prints Failed!

If you open the MoveToLocation Blueprint you can see that I'm using the Move To Location or Actor node. Notice that Use Pathfinding is unticked. Therefore, it should not be trying to use the navmesh or project the goal to the navmesh, so the character should move in a straight line to the goal regardless of the navmesh. Ticking/Unticking Use Pathfinding appears to have no effect. The character behaves the same in both cases.

The expected behaviour when Use Pathfinding is ticked, would be that the character would fail to move to the waypoint when it is outside the navmesh. However when Use Pathfinding is unticked, then the character should move in a straight line to the goal (waypoint), ignoring the navmesh.

P.S. The Move to Location node (on the AIController) works as intended, however it does not provide the On Move Finished event, so you don't know when the move has been completed. There is also a Move Directly Toward (behaviour tree) task that also works as intended, however I need to be able to make my own movement tasks in order to provide other inputs/outputs and logic.

Product Version: UE 4.18 Preview
Tags:
myproject.zip (1.1 MB)
more ▼

asked Oct 16 '17 at 06:01 AM in Bug Reports

avatar image

wilberolive
295 29 45 47

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

The question has been closed Oct 16 '17 at 12:03 PM by Sean L for the following reason:

https://answers.unrealengine.com/questions/711760/move-to-location-or-actor-bug.html


1 answer: sort voted first

Hi wilberolive,

I am closing this question as a duplicate of https://answers.unrealengine.com/questions/711760/move-to-location-or-actor-bug.html

Please refer to that thread for updates regarding this issue.

Thanks

more ▼

answered Oct 16 '17 at 12:03 PM

avatar image

Sean L ♦♦ STAFF
43.7k 485 152 440

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question