1

I am assuming a Reality Composer file when imported into Xcode will not have the 3d audio controls I would like available in SceneKit.

So I am assuming I need to add a SCNAudioSource to an ARImageAnchor or can I use the anchors from Reality Composer?

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
skynard
  • 133
  • 5

1 Answers1

0

Reality Composer scenes can be disassembled and managed with RealityKit API, not SceneKit's one. So, if you wanna add audio to a scene made in Reality Composer, just implement RealityKit's AudioResource class that can be played by any entity.

Here's an example of implementation.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220