Skip to content

Navigation Menu

Sign in
Sign up

fix: mirrored orientation in GetPhaseTransform - #109

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

fix: mirrored orientation in GetPhaseTransform #109
Rubeanie wants to merge 1 commit into
apple:main from
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)

c-brigatti, tajlamont, LisonLau, JadeynFeng, and Bulma-Au reacted with thumbs up emoji
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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /