From 617945147854183df3dba27c0c3f8381851a0ca0 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Thu, 6 Mar 2025 14:32:48 -0500 Subject: [PATCH] Minor node renaming --- scenes/player/player.gd | 2 +- scenes/player/player.tscn | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scenes/player/player.gd b/scenes/player/player.gd index 92708cf..20b7ea3 100644 --- a/scenes/player/player.gd +++ b/scenes/player/player.gd @@ -8,7 +8,7 @@ extends CharacterBody3D @export var walk_speed: float = 5.0 @export var run_speed: float = 7.5 -@onready var camera: Camera3D = $Camera3D +@onready var camera: Camera3D = $Camera @onready var ray_cast: RayCast3D = $RayCast3D diff --git a/scenes/player/player.tscn b/scenes/player/player.tscn index 8f703d6..3c8750a 100644 --- a/scenes/player/player.tscn +++ b/scenes/player/player.tscn @@ -10,15 +10,15 @@ [node name="Player" type="CharacterBody3D"] script = ExtResource("1_rp718") -[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +[node name="CollisionShape" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.953133, 0) shape = SubResource("CapsuleShape3D_dovo2") -[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +[node name="MeshInstance" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.953133, 0) mesh = SubResource("CapsuleMesh_gmlin") -[node name="Camera3D" type="Camera3D" parent="."] +[node name="Camera" type="Camera3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8, -0.005) [node name="RayCast3D" type="RayCast3D" parent="."]