-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
OpenXR: Add support for retrieving play area #85163
Conversation
@@ -690,6 +690,47 @@ bool OpenXRInterface::set_play_area_mode(XRInterface::PlayAreaMode p_mode) { | |||
return false; | |||
} | |||
|
|||
PackedVector3Array OpenXRInterface::get_play_area() const { |
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.
Should this be exposed to gdscript?
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.
It is through the XRInterface
, it's a virtual method
0dc9e1c
to
36610a9
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 otherwise for style
36610a9
to
69a41b3
Compare
Thanks! |
This PR implements the
get_play_area
feature onOpenXRInterface
. This allows the user to retrieve the are within which they can safely move before encountering the guardian boundary.This re-introduces the
get_play_space
feature in Godot 3s OpenXR support.Closes: #85049