- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 118
 
Description
macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
When dragging around on the scene, only updateListenerPosition3D is called. Frankly this makes sense since the sphere appears to remain stationary. But the code handles a hypothetical movement of the sound source with
func updateSoundSourcePosition(_ position3D: AVAudio3DPoint) {
  source1mixer3D.position = position3D
}If I change the code that calls updateSoundSourcePosition and pass it the pointOfView.forwardVector.[xyz] instead of passing soundSource.position.[xyz], then it becomes clear that the sound cannot be made to appear to move with source1mixer3D.position at all. If I want multiple sound sources moving independently in space, it's insufficient to manipulate only the listener position.
I lied about my Xcode and macOS version. I'm on macOS 26 and Xcode 26. But I was having trouble with this in the weeks before updating, on Xcode 16 and macOS 15.
Crash Logs, Screenshots or Other Attachments (if applicable)
No response