tizzle / aframe-orbit-controls-component

An Orbit Controls Component for A-Frame VR
https://tizzle.github.io/aframe-orbit-controls-component/
MIT License
74 stars 25 forks source link

Unknown camera type when sound entity added #2

Closed jaredpike closed 7 years ago

jaredpike commented 7 years ago

When you add a sound to the scene, the ability to dollyIn/Out breaks. Using A-Frame 0.3.2.

Trying to dolly out: WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.

tizzle commented 7 years ago

Hey @jaredpike ,

i cannot reproduce this issue. I updated Aframe to 0.3.2 and then followed the guides from the A-Frame website to add sound:

<a-entity
  id="river"
  geometry="primitive: plane"
  material="color: blue"
  position="-10 0 0"
  sound="src: url(river.mp3);
  autoplay: true">
</a-entity>

When inserting this into a scene with an orbit-control-camera, dolly and zoom functions work fine. Sound works as well. 3D-Sound is awesome, i never tried it out before.

Can you double check that you used unique ids? Can you give me a code snippet of your implementation?

Thanks and kind regards

Till

tizzle commented 7 years ago

@jaredpike, were you able to check out if this works for you?

Best,

Till

jaredpike commented 7 years ago

Hey @tizzle, I sorted it out. Thanks!