A-Frame声音组件不会改变位置

时间:2019-04-13 22:05:00

标签: aframe

我想让声音从我的右边传来。因此,我尝试使用以下A-Frame声音组件:

<a-sound src="src: url(Buzz.mp3)" autoplay="true" loop="true" position="-20 0 0"></a-sound> 

我使用-20坐标来确保声音来自我的最右侧。但是,无论我将声音放置在何处/何处,都不会改变对声音来自何处的感知。我是否正确使用组件?这是整个身体:

    <body>
<a-scene sound="src:morn.wav; loop:false; autoplay:false; volume:.1;">
<a-sound src="src: url(Buzz.mp3)" autoplay="true" loop="true" position="-20 0 0"></a-sound>
</a-scene>
</body>

0 个答案:

没有答案