-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Apply reference frame transform to OpenXRCompositionLayer
nodes
#92339
Apply reference frame transform to OpenXRCompositionLayer
nodes
#92339
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any other events we can listen to detect when the reference frame has been updated instead of computing the transform every frame?
It would be kind of nice to have a signal on |
218c5f1
to
28a2588
Compare
28a2588
to
50d6936
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
50d6936
to
6a8f2f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I haven't tested, but the code looks good to me :-)
Thanks! |
Currently when utilizing any
OpenXRCompositionLayer
nodes, if a user tries to recenter their environment usingXRServer.center_on_hmd()
, the composition layers will not be relocated at all. With this change, they should now move as expected.