Browse Source

Merge pull request #10736 from DanielKinsman/patch-1

Fix documented function call  in openxr reference space docs
Matthew 6 months ago
parent
commit
eb24e7805b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/xr/openxr_settings.rst

+ 1 - 1
tutorials/xr/openxr_settings.rst

@@ -102,7 +102,7 @@ Not doing so will prevent your game from being accepted on various stores.
 
 In Godot you can do this by calling the ``center_on_hmd`` function on the :ref:`XRServer <class_xrserver>`:
 
-- Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, true)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
+- Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, false)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
   to the :ref:`XROrigin3D <class_xrorigin3d>` node similar to the ``Local`` reference space.
 - Calling ``XRServer.center_on_hmd(XRServer.RESET_BUT_KEEP_TILT, true)`` will move the :ref:`XRCamera3D <class_xrcamera3d>` node
   above the :ref:`XROrigin3D <class_xrorigin3d>` node keeping the player's height, similar to the ``Local Floor`` reference space.