Making Camera follow Character Mesh when playing an animation that has no root motion

Hay guys. i’m trying to find a way to make the TPS capsule follow the character mesh when playing an animation that has no rootmotion,but i get a problem trying this because the character moves far away.
by the way in the picture it should be referenced to capsule comp instead of the camera,yeah i know but same issue.

crazy camera going through the floor. not good…