Skip to content

Commit eb24e78

Browse files
authored
Merge pull request #10736 from DanielKinsman/patch-1
Fix documented function call in openxr reference space docs
2 parents df28473 + 0fd17fe commit eb24e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/xr/openxr_settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Not doing so will prevent your game from being accepted on various stores.
102102

103103
In Godot you can do this by calling the ``center_on_hmd`` function on the :ref:`XRServer <class_xrserver>`:
104104

105-
- Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, true)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
105+
- Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, false)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
106106
to the :ref:`XROrigin3D <class_xrorigin3d>` node similar to the ``Local`` reference space.
107107
- Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, true)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
108108
above the :ref:`XROrigin3D <class_xrorigin3d>` node keeping the player's height, similar to the ``Local Floor`` reference space.

0 commit comments

Comments
 (0)