From ad6c952631c03f1a4d53b9f24300e86a4b57aadf Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 4 Nov 2025 23:24:21 +0100 Subject: [PATCH] feat: added actual camera --- vr-project/vr_base.tscn | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vr-project/vr_base.tscn b/vr-project/vr_base.tscn index 607bf2b1..0222c8df 100644 --- a/vr-project/vr_base.tscn +++ b/vr-project/vr_base.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=14 format=4 uid="uid://ctf3dsro4aqon"] -[ext_resource type="PackedScene" uid="uid://cq0mv68n1jacx" path="res://3D Models/camera_placeholder.blend" id="1_bibh8"] [ext_resource type="Texture2D" uid="uid://c0aarcidro2ml" path="res://Textures/HandLeftMat.png" id="1_pvnbl"] +[ext_resource type="PackedScene" uid="uid://jl44wibohg6a" path="res://3D Models/Camera_asset.blend" id="2_pvnbl"] [ext_resource type="Texture2D" uid="uid://bgyefxmoyrpqe" path="res://Textures/HandRightCameraMat.png" id="3_pvnbl"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nmntx"] @@ -191,6 +191,7 @@ _data = { current = true [node name="LeftController" type="XRController3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.27026388, 0.030819505, -0.20016113) tracker = &"left_hand" [node name="VR Hand Left" type="Node3D" parent="LeftController"] @@ -325,16 +326,17 @@ libraries = { } [node name="RightController" type="XRController3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.1823672, -0.03234446, -0.20369425) tracker = &"right_hand" [node name="ClueFinder" type="ClueFinder" parent="RightController"] -transform = Transform3D(1, 0, 0, 0, -0.25849885, -0.96601164, 0, 0.96601164, -0.25849885, -0.06272071, -0.034197945, 0.03913331) +transform = Transform3D(1, 0, 0, 0, -0.25849885, -0.96601164, 0, 0.96601164, -0.25849885, -0.079550676, -0.030825756, -0.013206795) -[node name="camera_placeholder" parent="RightController/ClueFinder" instance=ExtResource("1_bibh8")] -transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, 0.03785751, -0.042704105, 1.8867304e-08) +[node name="Camera_asset" parent="RightController/ClueFinder" instance=ExtResource("2_pvnbl")] +transform = Transform3D(-7.5497894e-08, 1.0540293e-11, 1, -0.00033155084, -0.9999999, -1.4484414e-11, 0.9999999, -0.00033155084, 7.549793e-08, -0.017460376, 0.06967156, 0.06477851) [node name="VR Hand Right Camera" type="Node3D" parent="RightController"] -transform = Transform3D(0.85242325, 0.44246125, 0.2785726, -0.16515681, -0.27765465, 0.94637775, 0.4960825, -0.85272264, -0.16360374, 0.024393395, -0.002687445, 0.058907717) +transform = Transform3D(0.85242325, 0.44246125, 0.2785726, -0.16515681, -0.27765465, 0.94637775, 0.4960825, -0.85272264, -0.16360374, 0.007563427, 0.00068473816, 0.0065676123) [node name="Armature" type="Node3D" parent="RightController/VR Hand Right Camera"] transform = Transform3D(-0.159, 0, 0, 0, 0.159, 2.4008331e-08, 0, -2.4008331e-08, 0.159, 0, 0, 0)