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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] Bug with navigation system?

Hi!

With the risk of double posting, I though this should be submitted as a bug report instead of a regular question since there seems to be no solution to the problems. Original question **here**.

I'm having two problems moving a pawn using an AIController. In a custom PlayerController I call GetHitResultUnderCursor(ECC_Pawn, false, Hit); to raycast and extract the position the player clicked on. Then I use AAIController::MoveToLocation(location, 0.1f, false, true, false, false); in the AIController to move the pawn. The problems are that:

  1. If I press close and intense in front of the pawn when still moving, the pawn often starts to move towards the origo of the world/map. I also check that the raycast actually did hit something.

  2. The RVO avoidance make pawns move very slowly in a wobbly strange path when near other pawns. You can also see some strafing even though strafing is supposed to be turned off and set to false in the move method call.

I have a video that shows problem 1 here **video link**. It also exists in the Top Down template, both BP and CPP version see here **video link**.

I have a video that shows problem 2 here **video link**.

Product Version: Not Selected
Tags:
more ▼

asked May 26 '14 at 09:17 AM in Bug Reports

avatar image

undercover
843 123 111 138

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

The question has been closed Jul 11 '14 at 12:34 PM by undercover for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Undercover,

I've attached a link to at least answer your first question about the player returning to the origination point. This was a known bug that is now fixed in our latest build. This fix will be included with 4.2 when it is released in the next couple of weeks.

However, I am not an AI guy, so it would take a bit to dig into your other problem. Would you be willing to share any info for how you set up the RVO avoidance by posting a screen shot or example project that would allow me to test it in the public 4.1.1 build vs our 4.2 build to see if the problem has been resolved?

Thank you!

Tim

P.S. I'm going to close the other thread you had started and link to this post here.

more ▼

answered May 27 '14 at 07:22 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

avatar image Tim Hobson ♦♦ STAFF May 30 '14 at 10:32 PM

Hi Undercover, I'm going to mark this as resolved for tracking purposes. If you are still having issues feel free to post on this and I'll help you where I can!

Thank you! Tim

avatar image undercover Jun 09 '14 at 09:53 AM

Hi again! Sorry for the delay but I have been a bit short of time lately.

Now when 4.2 is out, issue 1 is solved (as you said). Issue 2 however seems to remain in 4.2. I heard some rumor that the navigation system should be revisited in 4.3 but I'm not sure since I can't find anything about it myself.

The RVOAvoidance setup up is as follows:

"Use RVOAvoidance" = true

"Avoidance Weight" = 0.5

The pawn is basically an ACharacter and I use the commands from the AIController described above for moving the pawn.

If this information is insufficient, I will try to come back with some more information or simple example within a few days or so.

Thanks!

avatar image Tim Hobson ♦♦ STAFF Jun 09 '14 at 03:17 PM

Hi Undercover,

I'm not sure if there is a good answer for this at the moment being that there is still a lot of work going on with the AI and behavior tree within the editor. It's heavily being developed and planned at this point. You can find more information about the features that will be worked on in our Trello UE4 Roadmap.

There is no information at the moment to when more of the AI/behavior tree features will ultimately be implemented into the engine.

Keep updated via the Forums Announcements section and UnrealEngine.com.

Thank you!

Tim

avatar image undercover Jun 10 '14 at 12:29 PM

Okay, I see. My issue isn't very urgent at the moment (for me at least) since there is a lot of other work to do as well but it would be very nice to see a solution for this within a few months.

Thanks!

(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