agnostic expandable handles for react-three-fiber
npm install @react-three/handle``bash`
npm install three @react-three/fiber @react-three/handle@latest @react-three/xr@latest
| A example with a handle for controlling the scale rotation and position of a simple red cube by grabbing it with any type of input (mouse, touch, grab, point) in XR and non-XR applications. | !recording of interacting with the code below |
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
`tsx
import { Canvas } from '@react-three/fiber'
import { noEvents, PointerEvents } from '@react-three/xr'
import { Handle } from '@react-three/handle'
export function App() {
return (
)
}
``
This project is supported by a few companies and individuals building cutting-edge 3D Web & XR experiences. Check them out!