How do i match hand positions when playing hand shake animation?

Hi, I recently started development using Unity. I have a simple scenario of two persons walking towards each other and shaking hands. I was able to make the characters walk to each other using NavMeshAgent, stopping and then shaking hands. But many times, hands don’t match positions or animations do not sync. Any information about synchronizing the animation start times and matching two hands would be greatly appreciated. Thanks in advance.

I was able to get it working by using animation events and IK. During the hand shake animation, at appropriate places I am raising events and at those events I am using IK to match one player’s hand with another player’s hand for a brief moment. Hope this is how it should be done.