Skip to content

v6.6.0

Latest
Compare
Choose a tag to compare
@bbohlender bbohlender released this 30 Jan 15:33
· 13 commits to main since this release

XR - v6.6.0

which includes the packages react-three/xr, pmndrs/xr, pmndrs/pointer.events, pmndrs/handle, and react-three/handle

Features

  • Integration of the IWER Synthetic Environment Module which enables debugging of hit-testing, mesh and plane detection, and anchors right in the integrated IWER emulator (the loaded synthetic environment can be configured via createXRStore({ emulate: { syntheticEnvironment: "path-to-environment.json" } }).
  • Support for offer session, which allows inform the browser that the website can be entered as a AR or VR page enabling the browser to show a custom UI. By default offer session is now enabled. You can configure it via createXRStore({ offerSession: "immersive-vr" }).

Breaking Changes

  • The new offer session feature is now enabled by default. Revert to the old behavior by disabling the offerSession feature through createXRStore({ offerSession: false }) (affects pmndrs/xr and react-three/xr)

Fixes

  • in pmndrs/handle and react-three/handle - in the apply function, state.delta is cached and never recomputed when dependencies change
  • in pmndrs/handle and react-three/handle - for the screen camera handles (orbit and map handles) respect the setting in Object3D.DEFAULT_UP
  • in pmndrs/handle and react-three/handle - for the screen camera handles (orbit and map handles) fix the recomputation when setting screenCameraStore.setOriginPosition