This commit is contained in:
arrelin
2026-05-15 12:02:08 +03:00
parent d577d10b49
commit 41a46acdb2
8 changed files with 117 additions and 0 deletions

16
scene/char.tscn Normal file
View File

@@ -0,0 +1,16 @@
[gd_scene format=3 uid="uid://cymwfwx7ncy1g"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_w2xbp"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_i7ec8"]
[node name="Char" type="CharacterBody3D" unique_id=1222318117]
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1512273415]
mesh = SubResource("CapsuleMesh_w2xbp")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=735405303]
shape = SubResource("CapsuleShape3D_i7ec8")
[node name="Camera3D" type="Camera3D" parent="." unique_id=1984742585]
transform = Transform3D(1, 0, 0, 0, 0.8994281, 0.43706867, 0, -0.43706867, 0.8994281, -0.28681415, 2.0960088, 2)

25
scene/main.tscn Normal file
View File

@@ -0,0 +1,25 @@
[gd_scene format=3 uid="uid://2bx5m43kuw00"]
[ext_resource type="PackedScene" uid="uid://cymwfwx7ncy1g" path="res://scene/char.tscn" id="1_itxqv"]
[sub_resource type="BoxShape3D" id="BoxShape3D_no8bm"]
size = Vector3(15, 1, 15)
[sub_resource type="BoxMesh" id="BoxMesh_itxqv"]
size = Vector3(10, 1.005, 10.04)
[node name="Main" type="Node" unique_id=125764040]
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1132143718]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=2029854396]
shape = SubResource("BoxShape3D_no8bm")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=372621333]
mesh = SubResource("BoxMesh_itxqv")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1088028715]
transform = Transform3D(1, 0, 0, 0, 0.61341715, 0.78975904, 0, -0.78975904, 0.61341715, -0.1050868, 3.0984688, -0.25241804)
[node name="Char" parent="." unique_id=1222318117 instance=ExtResource("1_itxqv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5639855, 0)