How do I set translations of the animation to 0,

In BVH hacker there is XYZ button you can push to reset the translation of the animation to zero. How can i do this in Blender?

If your not sure what i am talking about check this link Under the heading “Preparing BVH files”.


Alt G sets all translations to 0
(Alt R does the same for rotation, etc.)

Thanks Freen, your solution was a success. Is there a way to apply this to an entire animation instead of frame by frame?