Community Tutorial: Attach AI Perception to Head Bone

Attach the AI Perception Component to The Head Bone so that it follows the head and rotates along with animations.

https://dev.epicgames.com/community/learning/tutorials/dLX9/attach-ai-perception-to-head-bone

I want to add that there is a way to do this completely in blueprints.

Create a new blueprint of the class Actor and give that actor an AI Perception component.

Then in the character’s blueprint, add that actor with the AI perception as a child actor component and attach it to the character’s head.

1 Like

It can be done but it is not optimal

Life saver

You won’t see a performance impact unless you have a few active bots…use the profiler…certain things are suppsed to be done in a specific way like you cannot do replicated movement without using a custom character movement componemt and you are supposed to add the perception component to the controller and not to the character class