SetFocus on Component rather than root? Alternatives?

I’m trying to get my shooter AI to focus on their target enemy components like the skeletal mesh component rather than the target’s root capsule component (from the character class) but SetFocus is only able to get object references. Being only able to focus on the root is an issue because I can’t specifically set where I want them to shoot and, when the mesh simulates physics on death, it separates from the capsule and I want the shooter AI to focus on the mesh rather than the capsule since the two can end up apart from each other. So is there any way to focus on components or any alternatives to SetFocus I can use?

Thanks!

2 Likes