jasonChen1982 / three.interaction.js

three.js interaction toolkit, help you built an interaction event-system for three.js, binding interaction event like browser-dom
411 stars 73 forks source link

请问多场景怎么使用 #23

Open shpy opened 4 years ago

shpy commented 4 years ago

我正用使用您的three.interaction库,有个问题想请教下,在一个页面中我有两个场景(scene)每个场景添加一个相机,2个场景共用一个渲染器,我想与两个不同的场景中的物体交互,但new Interaction实例时只能传一套场景和相机,想请问下有好的解决办法吗?

jasonChen1982 commented 4 years ago

每个场景new 一个 Interaction 应该可以