Why are bones not moving with animations?

I am doing a line trace and printing the hit bone name but the bones on the mesh are not moving with the animations.
What i am trying to say is that the location of the head on the mesh geometry and the actual bone are different

How do i fix it?

Are you using simple / complex traces. Which trace channel? I fear we’ll need more information on how you are doing it right now to be able to give some advice. :smiley:

I am using simple trace and the trace channel is set to visibility. However I was able to fix it…there is a setting under optimization called visibility based anim tick option which was set to “only tick montages when not rendered” and I set it to “always tick pose and refresh bones” and that fixed it for me.

Ok, good job. You can mark your own post as answer :'D