我对a框架框架非常陌生,我试图构建我的第一个场景以查看VR上的工作原理,除了声音,一切都按计划进行。我已经设置了一个声音属性,就像a框架页面中的属性“ https://aframe.io/docs/0.9.0/components/sound.html”一样,但是声音听不到。有什么想法吗?
...
<a-scene>
<a-assets>....<audio id="tieSound"
src="tiesound.mp3"></audio>
<a-asset-item id="TieFighter"
src="tiefighter.glb"></a-asset-item>
</a-assets>
...
<a-entity
id="3DObject"
gltf-model="#TieFighter" sound="src: #tieSound; volume: 2; rolloffFactor: 2; refDistance: 1; autoplay: true; distanceModel: exponential; loop: true"
position="10 40 -900"
scale="1.2 1.2 1.2"
rotation="0 0 0 "
animation="property:object3D.position.z; to: 1200; dir: normal; dur: 15000; loop: true">
</a-entity>
...