我想让声音从我的右边传来。因此,我尝试使用以下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>