I’ve been trying to set up a simple perception system for a hack ‘n’ slash enemy AI, in which the enemy simply attacks the player if he sees him. In my base enemy class constructor, inheriting from ACharacter, I have:
However, when creating an enemy inheriting from this class, the perception component isn’t there and there’s no sense config options or any way to register the stimuli. I’ve also tried changing the perception component to a UPawnSensing class, but it still doesn’t appear.