Boilerplate for "smooth" player motion in VR with controllers

Hi Everyone,

I think that the default motion controls (with teleport, etc.) are pretty great, but I actually prefer smooth motion. Does anyone have any boilerplate code for control of the VR player that way?

if you disable teleportation, will you just move forward?

summoning the warlord of XR @RaananW

Issue already exists - [WebXR] Allow movement with controllers · Issue #7442 · BabylonJS/Babylon.js · GitHub , will be implemented for 4.2

2 Likes

Is there an expected date for 4.2? (I’m just wondering whether to try to implement an “ad hoc” version if it’s far away from now).

yep: 4.2 Milestone · GitHub

^ that’s cool to see!