wall Cover (character not stick to the wall)

why my character does not stick to the wall,so there is a distance between my character to the wall and always walk away from the wall … I use rootmotion animation , anyone have a solution ?
thanks before