The problem of not using SetFocus is that (And maybe I’m wrong, except for the last reason which I’ve tested a lot):
- It’s not heavy on the system as
RInterpTo that runs every tick. - It have better syncing with multiplayer as it’s independent from
frame tick. - With SetFocus AI’s pawn always face the target while it’s moving, which
uses the Movement Blendspace
Animations that is based on Direction in the right way. Ex: with SetFocus AI
will face player and move backward
normally with the right backward animation,
while with RInterp the AI will always play “forward”
animation even if it’s moving backward
I’m thinking though of using RInterpTo/Ease before setting a new focus as a workaround, so for example when player shoot AI from behind the AI will first RInterp smoothly to player over Timeline, then after Timeline finishes I’ll set the new focus… I’m open for suggestions though if there is a better solution