flutter_3d_controller
flutter_3d_controller copied to clipboard
Add an animation toggle parameter to the setCameraOrbit method
"I checked the model-viewer documentation and found that there is a method to jump to the target camera view instantly without animation. Please add a toggle to control this behavior. Thank you."
const modelViewer = document.querySelector('model-viewer'); modelViewer.cameraOrbit = '45deg 75deg 2.5m'; modelViewer.cameraTarget = '0m 0m 0m'; modelViewer.jumpCameraToGoal();
https://github.com/m-r-davari/flutter_3d_controller/pull/69
@winter-tech Hi, I will add it to roadmap