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?
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?