-
Notifications
You must be signed in to change notification settings - Fork 15
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
No way to determine when controller is ready (model is loaded) #15
Comments
Hi, About initial animation and camera position you mentioned. I also will add initial cameraTarget and initial cameraOrbit argument to the either Flutter3dController class or Flutter3DViewer widget more info may be useful for you : If you call the playAnimation() method without passing animation name and model has at least 1 animation, package will play first animation by default. cameraTarget default value is = "auto auto auto" |
I actually tried to add callback by myself, but didn't manage to do it via existing dart code and I have zero experience with JS so again didn't manage to find a quick solution inside web views / model viewer. |
Any update on this? |
Feature has been added in v2.0.0 ✅
|
Problem: Need to play a specific animation and set camera to a specific position when model is loaded. Animations and positions are not same every time, so setting it via glb is not an option (if it's even possible for glb)
Possible solutions:
The text was updated successfully, but these errors were encountered: