Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only apply position and orientation of spatial anchor space to anchored entity #5633

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

mrxz
Copy link
Contributor

@mrxz mrxz commented Jan 20, 2025

Description:
As reported in #5630 the anchored component would set the scale to 1, despite only needing to position and orientate the entity based on the spatial anchor's pose. This PR replaces the matrix decomposition with a straightforward copy of the position and orientation, leaving the scale of the entity as-is.

Fixes #5630

Changes proposed:

  • Only apply position and orientation of spatial anchor space to anchored entity

@dmarcos
Copy link
Member

dmarcos commented Jan 20, 2025

Thanks!

@dmarcos dmarcos merged commit c854fd5 into aframevr:master Jan 20, 2025
3 checks passed
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.

Using spatial anchor causes scale to get overruled
2 participants