How do you get positional audio to work in SceneKit?

前端 未结 2 1266
孤独总比滥情好
孤独总比滥情好 2021-02-04 10:59

I am having trouble getting positional audio to work in SceneKit. Starting with the SceneKit game template generated by Xcode I have added the following code to the end of the h

2条回答
  •  无人共我
    2021-02-04 11:37

    As mentioned by Jed Soane, and confirmed by Apple in a Radar, the issue was my audio file was stereo instead of mono. Only mono audio files will work for positional audio.

提交回复
热议问题