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. 

AI Perception Component not working as expected

Hi, I just started working on AI Perception component. I have a base character blueprint which is the parent of all units from player team. At Event begin play, I'm making it register perception stimuli source.


I added an AI Perception component in my enemy character parent class. In one of the child enemy classes, I've set sight sense with sight radius of 150 and lose sight radius of 200 with peripheral vision angle of 180 deg. On perception updated event, I'm checking if it's the player character and then printing a string if it is.


But as soon as the enemy is spawned in the level, it starts printing the string, even though I'm outside the sight range assuming the sight range is in normal unreal units. However the peripheral vision angle and collision meshes in between prevent the enemy character from detecting the player character. So if it's not a bug, could someone tell me how to fix the sight detection issue.

Product Version: Not Selected
more ▼

asked Apr 17 '15 at 03:32 PM in Blueprint Scripting

avatar image

1k 83 75 118

avatar image Stormrage256 Apr 18 '15 at 09:15 AM

Anyone else facing this issue with the AI Perception?

avatar image callmeEarly Apr 06 '17 at 12:33 PM

Yes, probably the same. I tested this with two AI enemies, and they will block the sight to each other and one will return "lost sight" to the target (Player Character) even it is very closed to the target with Vision Angle 180 degree. Anyone happened the same? Or, did I miss something I gonna setup? please advise. Thank you.

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

1 answer: sort voted first

As far as I know you have to configure your sense in the senses config array. Just expand your entry for the sight config and do your changes there. The values in the AI section doesn't seem to influence the senses at all (I'll left all of them at 0 and sight detection is still working). The perception system is still WIP so things might change in 4.8.

more ▼

answered May 11 '15 at 10:23 AM

avatar image

240 10 6 13

(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