Mecanim in world space

Hi,
I’m using a mecanim setup on a character.
The horizontal/Vertical axes are converted into a speed/direction floats and pushed to mecanim to call animations.
The problem is that the speed/direction are used in the character’s local frame of reference.
How do i get mecanim to use them in world space ?

Just convert them to world space before sending them to mecanim:

Transform.TransformPoint