Skip to content

v6.2.0

Latest
Compare
Choose a tag to compare
@bbohlender bbohlender released this 19 Aug 17:45
· 36 commits to main since this release

react-three/xr v6.2.0

πŸŽ₯ YouTube Video | πŸͺΏ Tweet

Features

  • ⛰️ Unbounded spaces using bounded: false - Example
  • πŸ“ Depth sensing using depthSensing: true - Example
  • βž• Secondary input sources using secondaryInputSources: true - Example | Tutorial
  • πŸ“Ί Dynamic and static high quality layers using <XRLayer ... /> - Example | Tutorial

Fixes

  • #322: incorrect XRRigidTransform when using frame.createAnchor
  • #331: Window is not defined error when using @react-three/xr with Next.js
  • #324: Wheel scrolling not working when using forwardObjectEvents

Breaking Changes

  • useSessionSupported is now called useSessionModeSupported
  • useXRHandState("right"), useXRHandState("controller"), ... is now called useXRInputSource("hand", "right"), useXRInputSource("controller", "right"), ...
  • useXRHandState("right"), useXRControllerState("right"), ... for getting the hand state when rendering a hand is now called useXRInputSourceStateContext("hand"), useXRInputSourceStateContext("controller"), ...
  • removed unnecessary useXRPlane hook

Documentation