wechat-miniprogram/threejs-miniprogram

怎么给小程序里面添加orbitcontrols

Closed this issue · 5 comments

怎么给小程序里面添加orbitcontrols

希望能把控制器也弄下,这样就会好用了

关于控制,我还是用的小程序本身的Bindtouch和bindtouchmove,然后自己写模型控制

好吧,看来只能这样了

https://github.com/sanyuered/WeChat-MiniProgram-AR-3D

微信小程序显示gltf模型,支持用手势事件和手机传感器控制3D旋转,供参考。

@wh123660 可以用 orbitcontrols ,需要稍微做一下适配,然后类似这样包一下

export function registerGLTFLoader(THREE) {