Skip to content

fix: mirrored orientation in GetPhaseTransform - #109

Open
Rubeanie wants to merge 1 commit into
apple:mainfrom
Rubeanie:handedness-fix
Open

fix: mirrored orientation in GetPhaseTransform#109
Rubeanie wants to merge 1 commit into
apple:mainfrom
Rubeanie:handedness-fix

Conversation

@Rubeanie

@Rubeanie Rubeanie commented Sep 3, 2026

Copy link
Copy Markdown

Description

The Unity-to-PHASE conversion flipped the Z axis on one side only, so the rotation it produced was a mirror image.
Position was unaffected, which is why point sources sounded fine, but directional sources and oriented listeners were reflected front to back under pitch and roll.
Apply the flip on both sides so the rotation is a proper one. The matrix is transposed here because the native side reads it transposed.

Testing

Tested on device - Apple Vision Pro (visionOS 26)

@Rubeanie
Rubeanie marked this pull request as ready for review September 3, 2026 09:18
@Rubeanie Rubeanie changed the title Fix: mirrored orientation in GetPhaseTransform fix: mirrored orientation in GetPhaseTransform Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant