Skip to content

v2.0.0

Compare
Choose a tag to compare
@sniok sniok released this 27 Jan 20:25

Breaking changes:

  • Hover, Select components are removed and replaced by Interactive component

Added:

  • <Interactive /> component - allows attaching event handlers to the content in the scene
  • useInteraction hook - attach events to an existing object in the scene
  • const { player, isPresenting } = useXR() - added player Group and isPresenting variables
  • useHitTest - hook to perform hit tests in AR mode