-
I was trying to move objects in react three fiber and used the pivotcontrols from drei. On my pc it works perfect, but on mobile it moves just a little before stopping. Even when I'm still dragging my finger on the screen. Are there other controls for mobile how can move object horizontal and vertically? The onDrag was a test I found online, but I did nothing.
|
Beta Was this translation helpful? Give feedback.
Answered by
conor-v
May 14, 2024
Replies: 1 comment
-
Fixed it. I needed to add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
conor-v
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed it. I needed to add
touch-action: none;
to the body.