Fix code samples in VR starter tutorial part 1 (#4740)

This closes #4739.
This commit is contained in:
Hugo Locurcio
2021-03-13 19:33:49 +01:00
parent bd7093bc6c
commit 2edaff745f

View File

@@ -246,6 +246,7 @@ the same script, so it doesn't matter which you use first. With ``VR_Controller.
.. tabs::
.. code-tab:: gdscript GDScript
extends ARVRController
var controller_velocity = Vector3(0,0,0)
@@ -970,6 +971,7 @@ Once you have ``VR_Interactable_Rigidbody.gd`` open, add the following code:
.. tabs::
.. code-tab:: gdscript GDScript
class_name VR_Interactable_Rigidbody
extends RigidBody