king2088 / vue-3d-loader

VueJS and threeJS 3d viewer plugin
https://king2088.github.io/vue-3d-loader-docs
MIT License
223 stars 38 forks source link

能不能只控制左右旋转 #50

Closed Hjl122457 closed 1 year ago

Hjl122457 commented 1 year ago

只需要左右旋转,不需要上下旋转

king2088 commented 1 year ago

已经解决此问题,使用最新版本,vue2使用1.2.15,vue3使用2.1.6。 请自行查看API文档中的verticalCtrlhorizontalCtrl说明。样例演示及代码:https://king2088.github.io/vue-3d-loader-docs/zh/guide/example/set-vertical-horizontal.html