Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<RayGrab /> with blocked axis? #274

Open
JenniferFalkenstein opened this issue May 25, 2023 Discussed in #230 · 1 comment
Open

<RayGrab /> with blocked axis? #274

JenniferFalkenstein opened this issue May 25, 2023 Discussed in #230 · 1 comment

Comments

@JenniferFalkenstein
Copy link

Discussed in #230

Originally posted by JenniferFalkenstein December 30, 2022
Is it possible to use with a blocked axis, so that for instance an object can only be moved and dragged in x- and y-directions but not in z?
Or is there maybe a code example on how to code this feature myself? 😄

@bbohlender
Copy link
Collaborator

A short update
This is on the roadmap, but as a separate library (react-three/controls), which will work with XR but also in non-XR contexts unrelated to the RayGrab component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants