From b1d9bfe7e80b4d95acd26d0ab6a1ce34ad18d91c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 24 Nov 2024 11:46:03 +0100 Subject: next commit --- main.tscn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.tscn') diff --git a/main.tscn b/main.tscn index b25da59..b712365 100644 --- a/main.tscn +++ b/main.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=8 format=3 uid="uid://b7k6l3bm1f0db"] +[gd_scene load_steps=9 format=3 uid="uid://b7k6l3bm1f0db"] [ext_resource type="Script" path="res://main.gd" id="1_g4bmv"] +[ext_resource type="Script" path="res://free-look-camera.gd" id="2_4jusq"] [ext_resource type="Texture2D" uid="uid://dv842eajslxyw" path="res://icon.svg" id="3_7tj3h"] [ext_resource type="Script" path="res://player.gd" id="3_tn7lj"] @@ -34,10 +35,12 @@ directional_shadow_max_distance = 400.0 [node name="Camera3D" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.767031, 0.64161, 0, -0.64161, 0.767031, 0.387164, 18.7811, 29.7854) current = true +script = ExtResource("2_4jusq") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] [node name="CharacterBody3D" type="CharacterBody3D" parent="."] +process_mode = 4 transform = Transform3D(-0.0770845, 0, 0.997025, 0, 1, 0, -0.997025, 0, -0.0770845, 0, 238.895, 0) script = ExtResource("3_tn7lj") @@ -48,7 +51,6 @@ shape = SubResource("CapsuleShape3D_cggfi") transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 7.45058e-09, 0, 1, 0, 0.87, 0) [node name="Camera" type="Camera3D" parent="CharacterBody3D/CameraAnchor"] -current = true [node name="RayCast3D" type="RayCast3D" parent="CharacterBody3D/CameraAnchor/Camera"] target_position = Vector3(0, 0, -5) -- cgit v1.2.3