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"

AI Perception see's trough meshes

Hello! My AI is currently acting up. For some reason it sees right trough my own meshes and detects the player. It's like the meshes weren't there at all. The standard ue4 meshes work just fine even though they have the exact same collision settings. Any idea what this could be caused because of?

Product Version: UE 4.14
more ▼

asked Dec 04 '16 at 10:47 PM in Everything Else

avatar image

6 2 4 6

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

1 answer: sort voted first

Use a Line Trace to detect if it sees the player or not. So, when perception is going to go off, have a line trace go off right after, and if there is nothing blocking it, then it sees the player, but if it doesn't. But that's a workaround.

In reality, it should work as intended. There was a bug that allowed BlockAllDynamic to be seen through.

Try to change your mesh's collision setting to BlockAll instead.

more ▼

answered Dec 05 '16 at 01:11 AM

avatar image

2.4k 60 27 111

avatar image Measuring Dec 05 '16 at 05:42 AM

Mesh collision is already set to block all. That's the wierd part...

avatar image Measuring Dec 06 '16 at 06:38 PM

I managed to fix it now by checking the "Enable Collision" check box under the material slot in LOD0. Now it works just fine!

(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