m-r-davari / flutter_3d_controller

The most complete Flutter package for rendering interactive 3D models in various formats (GLB, GLTF, OBJ, FBX), with the ability to control animations, textures, camera, and more.
https://pub.dev/packages/flutter_3d_controller
MIT License
107 stars 14 forks source link

Issue with setCameraTarget(x, y, z); #33

Closed danieljiwonkang98 closed 1 month ago

danieljiwonkang98 commented 1 month ago

Previously it worked with the version v1.3.0 I could have setCameraTarget outside of the current screen. But now when I call setCameraTarget when the glb view goes outside of the screen it resizes to fit the screen. Need fix with this.

danieljiwonkang98 commented 1 month ago

It used to work well before. The issue happens when the glb is bigger or goes off screen, then it resizes to fit the screen, making the animation weird. Need fix for this.

m-r-davari commented 1 month ago

Hi,

Thanks for reporting, I add gesture interceptor feature in v2.0.0 it could make some effect on camera control,

would you please share you're code, I wanna reproduce your condition,

also I have send you contributor invitation. I could use your help

m-r-davari commented 1 month ago

@danieljiwonkang98 Hey, I'm going to release a new version soon, but I couldn't reproduce the issue you mentioned. Could you please share the code or more details if the issue still exists, so I can reproduce and fix it?

m-r-davari commented 1 month ago

I haven't received a response from you in a while. To keep the repository clean and focused, I'm closing this issue for now. If you have any further details or updates, feel free to reopen the issue or create a new one.