How can I limit the AI Perception sight height?

X3cut1ona
Thu, 25 Jun 2020 06:01:02 +0000
AI

I am trying to limit the vertical scope of the AI Perception sight sense so when the player character is on a platform slightly above, the enemy will still not be able to detect them. Is there a specific property within the AI Perception component or the character component itself that handles that?

The other path I’m considering taking is to implement a quick cone raycast to verify that the player character is at the same level/height as the enemy, but I am looking for the most efficient solution and would appreciate the help.

Note: I am aware that the Base Eye Height can modify it to a certain extent, but I don’t believe it can do what I’m looking for.

7 posts - 3 participants