How to move forward using rays?

I am using webXR utility for simulation, i want to Move forward using rays.
Here is the source I use: Babylon.js Playground
And that’s the result I want :

But I have tried many ways, maybe I am missing something, this is what I did:

Adding @RaananW.

1 Like

The teleportation requires a thumbstick to work out of the box, but if you don’t have one, you can set the main button as the teleportation trigger: