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

One finger rotation #325

Open
NinoStella opened this issue Feb 28, 2025 · 0 comments
Open

One finger rotation #325

NinoStella opened this issue Feb 28, 2025 · 0 comments

Comments

@NinoStella
Copy link

I need to enable the rotation of a 3d object on Y axis using a one finger gesture (pan).
I tried to handle the onDrag event and set the rotation based on drag amount, but i don't want to move the object.
Is there any way to prevent object moving while preserving the drag event?
Alternatively, is there another way to intercept gestures inside the ViroScene?

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

1 participant