Closed rghv96 closed 1 year ago
Could you please start from the current webxr branch, so that only your changes are listed in this or a new PR ?
So pick the webxr branch, update X3DCanvas.js and VRControllerManager.js (I think these are the two files modified), and create a new PR from there. If you want I can do it.
I have updated the PR.
@andreasplesch I have added the scaleFactor of 0.001 in the fit function in VRControllerManager. Also, I don't fully understand why do we need this function as ideally, we should not need any movement in viewArea when we enter VR mode.
I think it was an attempt to automatically have a better view when switching to XR. It may not be needed with viewpoint support. I used the small scale factor only as a safe way to disable the fit function without removing it.
Alright, I think the PR is ready to review @andreasplesch
@tsturm and @msub2 ?
Apologies for delay, looks good to me though
Thanks.
@andreasplesch @tsturm @msub2
Please review this PR.