From 7e7831eefba93429e081f1d3f3ab788ddad2b890 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 25 Nov 2023 13:24:15 +0100 Subject: [PATCH] Fix things --- Player.gd | 1 + Root.tscn | 6 +++++- Unshaded.material | Bin 0 -> 731 bytes 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Unshaded.material diff --git a/Player.gd b/Player.gd index 06a4c08..7d1d981 100644 --- a/Player.gd +++ b/Player.gd @@ -1,4 +1,5 @@ extends CharacterBody3D +class_name Player const SPEED = 5.0 diff --git a/Root.tscn b/Root.tscn index 8d50cd6..07de021 100644 --- a/Root.tscn +++ b/Root.tscn @@ -1,15 +1,18 @@ -[gd_scene load_steps=8 format=3 uid="uid://4whij2hmts0t"] +[gd_scene load_steps=9 format=3 uid="uid://4whij2hmts0t"] [ext_resource type="Script" path="res://Player.gd" id="1_wt4gx"] +[ext_resource type="Material" uid="uid://dondfiavgo2ws" path="res://Unshaded.material" id="2_upp15"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_castg"] [sub_resource type="CapsuleMesh" id="CapsuleMesh_pnmjt"] +material = ExtResource("2_upp15") [sub_resource type="BoxShape3D" id="BoxShape3D_kpyw3"] size = Vector3(1, 0.1, 3) [sub_resource type="BoxMesh" id="BoxMesh_4tnse"] +material = ExtResource("2_upp15") size = Vector3(1, 0.1, 3) [sub_resource type="PlaneMesh" id="PlaneMesh_opk07"] @@ -19,6 +22,7 @@ size = Vector3(1, 0.1, 3) [node name="Root" type="Node3D"] [node name="Player" type="CharacterBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.927202, 0) script = ExtResource("1_wt4gx") [node name="Man" type="CollisionShape3D" parent="Player"] diff --git a/Unshaded.material b/Unshaded.material new file mode 100644 index 0000000000000000000000000000000000000000..d02fcd5637f4175c65af1aee56e0b917edc6f818 GIT binary patch literal 731 zcmV<10wn!XQ$s@n000005C8y51^@uV0ssIgwJ-f(N(Ido0On$4G;m9j4*a>Qs;a80 zD&B9TH6kbf-kY#P5<=wOlGI+o{lYj9y5-*<$k=LI`o8|}>;M0M3RM7909OE;{7>)* zQpw1gLhkM^hQfqEvDJS8{PCwZVo-Ew1 zDaBXHWbqmvuU+V#Y|h93i#N0AUaQok!OKmsMPOV9C2QFnMbWe%)-kd^YGiIOo{a`vj?a5x-}h_t*Qt)*g&Oglz}%apsbDay)tIGhpOdpHss z4I2fk*qJt!LI&N11GTgfvXZ>m@KTzz%0*!x(^V?|;4U(NEMus{Jj0*oJG*d}xhUk@e3V@xh21n+WJ2X4t&Kj5SzAT!%SGCZ z6RmWy{GjbpKB}~GR)YswylhY~u4Gpegls`p3xI&AVW~k%8KN0YQo9&H0z#lFq6ZS- z(}9vi5}6_rVwlRZzX9JVwRNiv%ww(_;iavv)ZL}uXwhD;2N@x6Of>cH>?Ho?;Od1T z!i>yWxDZ9{!9x)gF6~rE`6-{?xfb?%?Xs_422P!Lt`^~SP?ED(323AM`m`J`tmXc616isA#ltg1;D--YsU0lE