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
XR integration #21
Comments
I'm also interested in integrating it with XR, but I haven't tried @react-three/xr yet. I'll give it a try when I get back to this project. |
You would have to manipulate the camera returned from https://threejs.org/docs/#api/en/renderers/webxr/WebXRManager.getCamera rather than the default camera. No other changes are needed. |
Thanks, @CodyJasonBennett! Good to know! |
@ErdongChen-Andrew in my project I got pretty stuck on this and the solution was to make sure you do |
Thank you, @antpb ! I'll definitely keep that in mind while I'm working on XR! |
@CodyJasonBennett How exactly do I do this? |
Yo, glad this is being worked on, been trying to make it work myself using @react-three/xr but I'm not able to get the movement / rotation right. left controller joystick to move around relative to where im facing (click in to sprint) I noticed there was controller support added but doesn't seem to work with the xr controls. anyways big thanks for the library @ErdongChen-Andrew hope you get around to this soon :) |
Bumping this thread for priority |
PR welcome, and reminder open-source is voluntary community work. |
Hey thanks for the bumping this thread again, I love open source, I can contribute what I can but I know there are those who are better at doing this than me and I wish they can do what they can as soon as possible. Will keep you updated in the PR i plan to create. |
How exactly would this work in XR? Using headset controllers? What about hands for example? |
Do you have any hints How can I integrate with @react-three/xr ? I would like to use it as it works by default with additional support of VR, when when enter VR is clicked. Any hints are welcome.
The text was updated successfully, but these errors were encountered: