61 lines
3.3 KiB
Text
61 lines
3.3 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://fc5dbig7f17h"]
|
|
|
|
[ext_resource type="Script" path="res://PlayerCharacterBody3D.gd" id="1_ervhk"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_jyng4"]
|
|
sky_top_color = Color(0.760784, 0.254902, 0, 1)
|
|
sky_horizon_color = Color(0.740196, 0.605976, 0.53325, 1)
|
|
ground_horizon_color = Color(0.740196, 0.605976, 0.53325, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_1lu5x"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_jyng4")
|
|
|
|
[sub_resource type="Environment" id="Environment_kvgi4"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_1lu5x")
|
|
tonemap_mode = 2
|
|
glow_enabled = true
|
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_521e4"]
|
|
size = Vector2(20, 20)
|
|
|
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_jf03u"]
|
|
data = PackedVector3Array(10, 0, 10, -10, 0, 10, 10, 0, -10, -10, 0, 10, -10, 0, -10, 10, 0, -10)
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_kuie4"]
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_8qgqb"]
|
|
points = PackedVector3Array(-0.125207, -0.532801, -0.480507, 0.0227831, 0.47607, 0.498884, 0.169713, 0.559144, 0.464172, 0.231051, -0.803591, 0.320455, 0.40741, 0.651043, -0.243523, -0.482789, 0.594843, 0.0822132, -0.362868, -0.682312, 0.289697, 0.469044, -0.654529, -0.0662713, -0.127444, 0.842701, -0.338103, -0.393435, -0.683942, -0.244717, 0.438255, 0.623309, 0.200849, 0.0841477, 0.977454, 0.114795, -0.0682023, -0.976458, -0.12927, 0.20055, -0.563129, -0.451454, -0.185527, 0.595453, -0.453475, -0.273363, 0.592268, 0.407754, -0.00693649, -0.476823, 0.49966, 0.375821, -0.588614, 0.316955, 0.111579, 0.563059, -0.481177, -0.41725, 0.527866, -0.270497, -0.484546, -0.596972, -0.0665097, -0.279747, 0.908561, 0.0533361, -0.250197, -0.880712, 0.205319, 0.263647, -0.902771, -0.127394, 0.293368, 0.871526, -0.157196, 0.373412, -0.526319, -0.328246, 0.499663, 0.476641, -0.00688856, 0.0531056, 0.875001, 0.324703, -0.154543, -0.590854, 0.465879, -0.0972799, -0.782358, -0.398188, -0.387649, -0.498171, 0.31565, -0.30068, -0.587995, -0.388901)
|
|
|
|
[node name="Node3D" type="Node3D"]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_kvgi4")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 0, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("PlaneMesh_521e4")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
|
|
shape = SubResource("ConcavePolygonShape3D_jf03u")
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
|
script = ExtResource("1_ervhk")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CharacterBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
mesh = SubResource("CapsuleMesh_kuie4")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("ConvexPolygonShape3D_8qgqb")
|
|
|
|
[node name="Neck" type="Node3D" parent="CharacterBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.48771, 0)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CharacterBody3D/Neck"]
|