-
Notifications
You must be signed in to change notification settings - Fork 21
Update all packages #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update all packages #7
Conversation
|
I tested VR on Quest and AR on Chrome Android on this glitch https://glitch.com/edit/#!/vfretin-aframe-xr-starterkit |
|
Previously in VR with movement-controls right joystick didn't work to move the camera, now it works since c-frame/aframe-extras#373 was merged but if I move position with left joystick afterwards it doesn't go in the correct direction. Funny I don't have this issue at all in my app and the code is the same as far as I can tell except my camera has id="camera" and yours id="head". |
|
I removed your hack that reset the cameraRig rotation to y=0 when switching to movement-controls. that I now fixed in the PR: I used the build of this PR here. |
|
If I comment the main.js file, I don't have the issue anymore where the left joystick goes into the wrong direction, so there is something in main.js that does something on cameraRig or camera rotation. |
|
It's your xr-follow component that causes the issue, but I don't understand why. This component is set on the parent of the sword and watergun. I don't understand why it impacts cameraRig/camera heading when moving. |
|
Oh that’s weird it shouldn’t change anything else. I’ll take a quick look. |
|
I found it. It's the following code:
If I replace those line by just it seems to work properly. I see the sword and watergun, I can grab both. |
|
That was to get it working in VR glad it is no longer needed but weird that it would have side effects |
…s movement issues with movement-controls
|
Yes it's a bit weird, I don't fully understand it, but if the code is simpler, still work in VR and this fixes the movement issue, then I won't dig it further. :) |
|
Ok so there is only one issue remaining before we can merge. This is this issue: |
|
Yeah I really don't understand how the issues are related :D How it can impact the heading calculation here I just wanted to mention getCamera has no argument in threejs r144 |
|
FYI in threejs r144 we have this change mrdoob/three.js@777f97a |
…ressing trigger fixed
|
Alright, I fixed the issue c-frame/aframe-extras#392 with trigger moving forward, that was a regression when I merged the changes in touch-controls for Chrome Android Cardboard button. You can test the changes in my glitch https://glitch.com/edit/#!/vfretin-aframe-xr-starterkit |
Nice find! |
|
Thank you for all the fixes, glad to see so many hacks removed |
|
I merged the aframe-extras PR, now using again a build from aframe-extras master. |
|
Fantastic! Let’s merge:D Thank you so much for all of your work in this! |
|
Cool, thanks. Please don't forget to update the glitch as well. I'm not sure what it your workflow here, you just open the glitch terminal and |
|
Updated |
This closes #5