Skip to content

Create a HandGrab #296

Answered by bbohlender
matt-fonto asked this question in Q&A
Discussion options

You must be logged in to vote

with react-three/xr v6, grabbing is as simple as using pointer-events with the mouse using pointer-capture on html/css.
As a side node, the roadmap contains the react-three/controls package, which will contain the DragControls component, which will allow to make anything draggable using rays but also grabbing and will work out of the box.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bbohlender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants