As a kicker to this, I’ve just found out that the “Player” doesn’t have an AI Controller (even though the Pawn defines one). And the APlayerController doesn’t have an interface to the AIPerceptionComponent. Which rather boils what I was hoping to achieve here…
I’ll explain - I was hoping to use the Perception stuff on top of the player to feed into logic that could be used to describe what the player can see/hear/etc. E.g. knowing whether the player could see a particular actor (or how long it had been since the actor was seen), whether they heard a particular sound effect go off, etc.
Without an AI Controller on the player, I guess I don’t have any of this data available? Any clues as to how I’d go about achieving this?
Thanks!