How to play an animation out of my view actually

If a monster attack me,it will play a animation.But if it is out of my view,for example,behind me,it will not play the animation actually, may be because of not render.The position of socket will not change,so collision of the weapon will not happen.How to play an animation out of my view actually.

Generally animation does play irrespective of where the target character is.

If the enemy monster is behind you and is not in camera viewport how do you know its not playing animation? Try going simulate and check is the animation being played or not. Or try some print string nodes and check flow in Persona for your animation.

I remember doing AI for a game in which player was getting attacked by enemies from backside (it was a melee attack) and getting hurt. The problem i faced with the attack in my case was size of collider on the weapon and distance between player and the enemy character.

I printed the position of the socket,it was not change. Any way, I got the method:GetMesh()->MeshComponentUpdateFlag = EMeshComponentUpdateFlag::AlwaysTickPoseAndRefreshBones; Thank you~~

GetMesh()->MeshComponentUpdateFlag = EMeshComponentUpdateFlag::AlwaysTickPoseAndRefreshBones;