from Natuerlich
Migrate your application from natuerlich
@react-three/xr is inspired by natuerlich, and therefore, many things are similar, especially the way interactions are handled. However, a few things have been changed and renamed.
- use
XROrigin
instead ofImmersiveSessionOrigin
- use
<Canvas><XR>...</XR></Canvas>
instead ofXRCanvas
- configure settings such as
foveation
throughcreateXRStore
- use
store.enterXR
instead ofuseEnterXR
- use
DragControls
TBD instead ofGrabbale
- don't add hands and controllers yourself, and configure them through the
createXRStore
options. Click here for more info regarding controller/hand/... customization. - use teleport as described here