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

Unable to rotate the object after some time. #26

Closed
gputhige opened this issue Aug 29, 2024 · 8 comments
Closed

Unable to rotate the object after some time. #26

gputhige opened this issue Aug 29, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@gputhige
Copy link

Hi
Great Plugin. Better than others I tried so far. I have encountered a few issues.

On load, the model can be rotated, panned and scaled. However, once the model is scaled (using two fingers vertically), the model can no longer be rotated. Even the zoom function seems to erratic. Even after trying the cameraOrbitReset, the problem continues.

Is there anything I am doing wrong?

@m-r-davari
Copy link
Owner

Hi,
Thank you for reporting issue,
could you please if I understand it correctly, when you try scale or rotating during the model loading, after model loads then rotating will not work properly?! if Its not correct then please give me exact scenario cause I need to reproduce it

@gputhige
Copy link
Author

gputhige commented Aug 30, 2024

Thanks for the quick revert.
The model loads fine and at the start.
After the load, when I rotate, it rotates fine. Same case with scale up and down (zoom up and down), works perfectly fine.
However, after rotating/scaling it, suddenly the rotation function stops. I can still scale and pan the mesh.
Also, the scaling function is not as smooth as the first time (immediately after load).
I am unable to identify the exact event which triggers this, as it happens at different times.
Otherwise, its perfectly meets my requirement.

@m-r-davari
Copy link
Owner

m-r-davari commented Sep 8, 2024

Thanks, I'm working on it you have this issue on iOS right? did you experience this issue with web or android?

@gputhige
Copy link
Author

gputhige commented Sep 9, 2024

This was on Android Phone.

@m-r-davari m-r-davari self-assigned this Sep 11, 2024
@m-r-davari m-r-davari added the bug Something isn't working label Sep 11, 2024
@m-r-davari
Copy link
Owner

I found the cause, it takes too much effort but I almost fixed it 💪🏼, will be release in next version.
I will notify here when I released next version

@gputhige
Copy link
Author

Good News. Thanks for the effort. Looking forward to the new release.

@m-r-davari
Copy link
Owner

m-r-davari commented Oct 5, 2024

Issue has been fixed with Gesture Interceptor feature released in v2.0.0. ✅

Flutter3DViewer( activeGestureInterceptor: true, )

Checkout latest version

@m-r-davari m-r-davari pinned this issue Oct 5, 2024
@gputhige
Copy link
Author

gputhige commented Oct 6, 2024

Thanks for the quick action. Much appreciated. Will update to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants