From 05308d88f113fb876617898d38ccb8a97a33a6f9 Mon Sep 17 00:00:00 2001 From: Snorre Date: Sat, 5 Apr 2025 03:32:13 +0200 Subject: [PATCH] added the 'enable vr' script lmao: --- resources/player.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/player.tscn b/resources/player.tscn index 09df18a..e4cb68d 100644 --- a/resources/player.tscn +++ b/resources/player.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=4 format=3 uid="uid://8fmy7u5fyonc"] +[gd_scene load_steps=5 format=3 uid="uid://8fmy7u5fyonc"] [ext_resource type="Script" uid="uid://bf27rxigs8b22" path="res://scripts/XRHand.cs" id="1_gyc3h"] +[ext_resource type="Script" uid="uid://dglj0x0bpkx5i" path="res://scripts/XrOrigin3d.cs" id="1_ucfva"] [sub_resource type="CapsuleMesh" id="CapsuleMesh_ij1v8"] radius = 0.1 @@ -11,6 +12,7 @@ radius = 0.01 [node name="XROrigin3D" type="XROrigin3D"] current = true +script = ExtResource("1_ucfva") [node name="LeftHand" type="XRController3D" parent="."] tracker = &"left_hand"