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] AI Spatial Query & AISense classes

Having done some investigation and asked a few questions here about AI, I think it is fair to say that the AIPerceptionComponent, AISense classes (including helper structs) and AISystem are some what incomplete. They are incomplete in the sense that I can see interfaces and methods available for doing certain things (certainty, GenericTeamID for example), but nothing implements them. Based on this, here are my questions:

  1. Any timeline on the future of the AI system mentioned above? (When will it be more complete and which features are higher priority than others?)

  2. It doesn't seem to do any spatial queries and instead, it simply allocates all sources into a list. This doesn't seem efficient when we have a large number of stimuli and so am I missing something or is that something that's actually missing?

  3. If the answer for No.2 is to use EQS, I would like to know how well does it scale. Ideally I would like some numbers if available such as when N is 10, query goes for 1ms and when N is 100, it is 1.5ms.

  4. If the answers from above indicates that I need to implement my own spatial query (due to I won't get the update in time or you guys aren't planning to make such thing for AI), any recommendations and/or suggestions? I am looking for things to look out for, possible incompatibilities.

Thanks! Oscar

Product Version: Not Selected
Tags:
more ▼

asked Jun 17 '16 at 09:30 PM in Using UE4

avatar image

Answers.Archive STAFF
2k 212 318 699

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

The question has been closed Jun 17 '16 at 09:30 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hey Oscar,

That's true, we're not done with PerceptionSystem just yet, but there's no one actively working on it right now.

Now to address your specific questions:

  1. Clearing up the whole GenericTeamID mechanics is highest priority, but due to limited AI programmers resources it will have to wait at least 6 months. Can't give you any specific dates on any of generic AI systems.

  2. Um.. I'm not sure what you mean. We could use an optimized spatial querying structure to speed up hearing sense for example (and other that broadcast info based on location) but that's it. PerceptionSystem is for gathering data.

  3. Yes, EQS is the way to go. It scales rather well, but numbers heavily depend on the queries you build. The only way to be certain is to build your own test case. Remember EQS is extremely easy to expand, so if you're not happy with out-of-the-box generators you can easily implement your own, optimized with game-specific constraints in mind.

  4. I would suggest using EQS as a framework, and expand it by implementing performant tests and generators. In terms of spatial querying octree and kdtree (and other flavors of trees) are usually the way to go. Again, which one to pick depends heavily on specific game's requirements.

Hope it helps.

Cheers,

--mieszko

more ▼

answered Jun 17 '16 at 09:30 PM

avatar image

Answers.Archive STAFF
2k 212 318 699

avatar image Answers.Archive STAFF Jun 17 '16 at 09:30 PM

Thank you Mieszko :)

(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