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"

How to use AIPerception component

I've been trying to make AIPerception work in blueprint but it somehow doesn't respond to any make noise functions in my player character which contain noise emitter. The noise is picked up by PawnSensing component which means it does emit noise and i guess the problem is in the way i set it up.

Can anyone provide a simple step by step guide on using AIPerception? It would be cool if screenshot is provided with working setup so i can learn from my mistake.

Thanks guys all of you are awesome. =) especially MieszkoZ

Product Version: Not Selected
Tags:
more ▼

asked May 08 '15 at 12:15 AM in Blueprint Scripting

avatar image

UltimateGoDLikE
21 2 3 7

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

1 answer: sort voted first

If by noise emitter you mean PawnNoiseEmitterComponent then the problem is this component is simply part of the same perception solution as PawnSensingComponent. Currently the new AI perception system listens only to noise events generated by calling MakeNoise (`PawnMakeNoise` works as well since it's using that too). UE4 4.8 will also come with easy to use function to sending out AI perception noise events.

Having said that, I think lots of people would expect PawnNoiseEmitterComponent work with new AI perception as well, so I'm going to file it as a bug. And it actually looks like a one-line change! :D Thanks for pointing this out!

If you're serious about using the new AI perception in UE4 I strongly suggest waiting for 4.8, or at least grabbing 4.8 preview 2 build once it's out. A tutorial on using it will come out shortly, stay tuned.

Cheers,

--mieszko

more ▼

answered May 09 '15 at 02:14 PM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

(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