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
XROrigininstead ofImmersiveSessionOrigin - use
<Canvas><XR>...</XR></Canvas>instead ofXRCanvas - configure settings such as
foveationthroughcreateXRStore - use
store.enterXRinstead ofuseEnterXR - use
DragControlsTBD instead ofGrabbale - don't add hands and controllers yourself, and configure them through the
createXRStoreoptions. Click here for more info regarding controller/hand/... customization. - use teleport as described here