How to use WALKING_LOCOMOTION?

I started using WALKING_LOCOMOTION api. the device is oculus quest pro. when I enable this feature in webxr,
locomotionTarget’s z changed when I move the head to the left or right.
locomotionTarget’s x changed when I move the head to the forward or backward.

and x or z is always great then 0. when I walk in the opposite direction, value will not get smaller.

Am I using it in the wrong way?
Babylon.js Playground (babylonjs.com)

expect behavior:
locomotionTarget’s z changed when I move the head to the forward or backward.
locomotionTarget’s x changed when I move the head to the left or right.
and value changed when I walk.

to get the walking locomotion feature you need to “walk in place”, which I assume is what you are doing. It is sometimes a bit hard to get to work, as it requires you to make the “right” movements to move in the right direction.
You need to walk, not move your head, but i might have misunderstood what you are actually doing with the headset. Are you “walking in place” and not moving forward?

On a small note - I’ll be honest and say that I am not fully versed in the inner calculations happening in this feature, as it was not implemented by me, and the person who implemented it is sadly no longer a part of the team.