update visual, add stones collision
This commit is contained in:
+2
-5
@@ -1,14 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://cxk2mn5oab341"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ujlvt8u71hg1" path="res://scripts/Enemy.gd" id="1_enemy"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dw74ofxlfq4tq" path="res://assets/gnome.obj" id="2_55jtl"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(1, 0.28, 0.18, 1)
|
||||
roughness = 0.8
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_1"]
|
||||
size = Vector3(0.85, 0.85, 0.85)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1"]
|
||||
size = Vector3(0.85, 0.85, 0.85)
|
||||
|
||||
@@ -16,9 +14,8 @@ size = Vector3(0.85, 0.85, 0.85)
|
||||
script = ExtResource("1_enemy")
|
||||
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="." unique_id=68242945]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.425, 0)
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
mesh = ExtResource("2_55jtl")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=379819225]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.425, 0)
|
||||
|
||||
+9
-9
@@ -1,25 +1,25 @@
|
||||
[gd_scene format=3 uid="uid://d4leath8bvq2r"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Leather.gd" id="1_leather"]
|
||||
[ext_resource type="Script" uid="uid://dndcs6xc7m08x" path="res://scripts/Leather.gd" id="1_leather"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.62, 0.38, 0.2, 1)
|
||||
roughness = 0.85
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_1"]
|
||||
size = Vector3(0.5, 0.06, 0.35)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.62, 0.38, 0.20, 1)
|
||||
roughness = 0.85
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1"]
|
||||
size = Vector3(0.5, 0.06, 0.35)
|
||||
|
||||
[node name="Leather" type="CharacterBody3D"]
|
||||
[node name="Leather" type="CharacterBody3D" unique_id=267529517]
|
||||
script = ExtResource("1_leather")
|
||||
|
||||
[node name="LeatherMesh" type="MeshInstance3D" parent="."]
|
||||
[node name="LeatherMesh" type="MeshInstance3D" parent="." unique_id=2045837180]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1940111930]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||
shape = SubResource("BoxShape3D_1")
|
||||
|
||||
+163
-56
@@ -1,22 +1,29 @@
|
||||
[gd_scene format=3 uid="uid://clevel2xm8n4p"]
|
||||
[gd_scene format=3 uid="uid://6y7xvxkhylpw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Level.gd" id="1_level"]
|
||||
[ext_resource type="Script" uid="uid://3llsew1f8mgs" path="res://scripts/Level.gd" id="1_ppgk2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cm8xcvhqaxmwi" path="res://assets/grass_new.jpg" id="2_2r41h"]
|
||||
[ext_resource type="Texture2D" uid="uid://bjfuko7rdmax" path="res://assets/stone_big.png" id="3_klq6b"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://b5do7gjnxif80" path="res://assets/stonewall_long.obj" id="4_b121j"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://ul1cypdhef5a" path="res://assets/stone_big.obj" id="5_8c41q"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ppgk2"]
|
||||
|
||||
[sub_resource type="Sky" id="Sky_ppgk2"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_ppgk2")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_1"]
|
||||
background_mode = 1
|
||||
background_color = Color(0.04, 0.04, 0.08, 1)
|
||||
background_mode = 2
|
||||
background_color = Color(0.4118684, 0.67867154, 0.94944257, 1)
|
||||
sky = SubResource("Sky_ppgk2")
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(0.35, 0.35, 0.5, 1)
|
||||
ambient_light_energy = 0.6
|
||||
ambient_light_color = Color(0.41145328, 0.6625951, 0.9125854, 1)
|
||||
ambient_light_energy = 0.9
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.12, 0.12, 0.18, 1)
|
||||
roughness = 1.0
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rccsh"]
|
||||
albedo_texture = ExtResource("2_2r41h")
|
||||
uv1_scale = Vector3(4.25, 4.25, 4.25)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2"]
|
||||
albedo_color = Color(0.28, 0.28, 0.42, 1)
|
||||
roughness = 0.9
|
||||
metallic = 0.1
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qifjx"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_1"]
|
||||
size = Vector2(28, 28)
|
||||
@@ -26,79 +33,179 @@ subdivide_depth = 8
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1"]
|
||||
size = Vector3(28, 0.2, 28)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_1"]
|
||||
size = Vector3(30.4, 1.0, 1.2)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_2"]
|
||||
size = Vector3(1.2, 1.0, 28.0)
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6vs76"]
|
||||
albedo_color = Color(0.70613354, 0.69966733, 0.76709455, 1)
|
||||
albedo_texture = ExtResource("3_klq6b")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2"]
|
||||
size = Vector3(30.4, 1.0, 1.2)
|
||||
size = Vector3(29.378223, 1, 1.2)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4qegb"]
|
||||
albedo_texture = ExtResource("3_klq6b")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_3"]
|
||||
size = Vector3(1.2, 1.0, 28.0)
|
||||
size = Vector3(1.2, 1, 28)
|
||||
|
||||
[node name="Level" type="Node3D"]
|
||||
script = ExtResource("1_level")
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_faw0r"]
|
||||
albedo_texture = ExtResource("3_klq6b")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2eouu"]
|
||||
albedo_texture = ExtResource("3_klq6b")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dke22"]
|
||||
albedo_texture = ExtResource("3_klq6b")
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6vs76"]
|
||||
height = 1.7565918
|
||||
radius = 1.0966797
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qifjx"]
|
||||
size = Vector3(2.2670898, 1, 3.7305298)
|
||||
|
||||
[node name="Level" type="Node3D" unique_id=696519]
|
||||
script = ExtResource("1_ppgk2")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1954340881]
|
||||
environment = SubResource("Environment_1")
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="."]
|
||||
rotation_degrees = Vector3(-55, -25, 0)
|
||||
[node name="Sun" type="DirectionalLight3D" parent="." unique_id=87011309]
|
||||
transform = Transform3D(0.90630776, 0.34618863, -0.24240388, 0, 0.57357645, 0.81915206, 0.42261827, -0.74240386, 0.5198368, 0, 0, 0)
|
||||
light_energy = 1.8
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Floor" type="MeshInstance3D" parent="."]
|
||||
[node name="Floor" type="MeshInstance3D" parent="." unique_id=1146297477]
|
||||
transform = Transform3D(3, 0, 0, 0, 3.0000002, 0, 0, 0, 3, 0.008, 0, 0.114)
|
||||
material_override = SubResource("StandardMaterial3D_rccsh")
|
||||
material_overlay = SubResource("ShaderMaterial_qifjx")
|
||||
mesh = SubResource("PlaneMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
|
||||
[node name="FloorBody" type="StaticBody3D" parent="."]
|
||||
position = Vector3(0, -0.1, 0)
|
||||
[node name="FloorBody" type="StaticBody3D" parent="." unique_id=507870675]
|
||||
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="FloorBody"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="FloorBody" unique_id=1093224413]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0998226, 0)
|
||||
shape = SubResource("BoxShape3D_1")
|
||||
|
||||
[node name="WallNorth" type="StaticBody3D" parent="."]
|
||||
position = Vector3(0, 0.5, -14.6)
|
||||
[node name="WallNorth" type="StaticBody3D" parent="." unique_id=442625322]
|
||||
transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -40.939087)
|
||||
metadata/is_wall = true
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="WallNorth"]
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_2")
|
||||
[node name="StonewallLong" type="MeshInstance3D" parent="WallNorth" unique_id=1566838376]
|
||||
transform = Transform3D(0.33333334, 0, 0, 0, 1, 0, 0, 0, 1, -14.111143, -0.4524665, -0.22309875)
|
||||
material_override = SubResource("StandardMaterial3D_6vs76")
|
||||
mesh = ExtResource("4_b121j")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallNorth"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallNorth" unique_id=253964319]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7779843, 0, 0)
|
||||
shape = SubResource("BoxShape3D_2")
|
||||
|
||||
[node name="WallSouth" type="StaticBody3D" parent="."]
|
||||
position = Vector3(0, 0.5, 14.6)
|
||||
[node name="WallSouth" type="StaticBody3D" parent="." unique_id=801810254]
|
||||
transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 42.038788)
|
||||
metadata/is_wall = true
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="WallSouth"]
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_2")
|
||||
[node name="StonewallLong" type="MeshInstance3D" parent="WallSouth" unique_id=2124717224]
|
||||
transform = Transform3D(0.33333334, 0, 0, 0, 1, 0, 0, 0, 1, -14.042586, -0.46504664, -1.3490562)
|
||||
material_override = SubResource("StandardMaterial3D_4qegb")
|
||||
mesh = ExtResource("4_b121j")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallSouth"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallSouth" unique_id=1338546258]
|
||||
shape = SubResource("BoxShape3D_2")
|
||||
|
||||
[node name="WallEast" type="StaticBody3D" parent="."]
|
||||
position = Vector3(14.6, 0.5, 0)
|
||||
[node name="WallEast" type="StaticBody3D" parent="." unique_id=42880987]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 3, 41.519997, 0.5, 0)
|
||||
metadata/is_wall = true
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="WallEast"]
|
||||
mesh = SubResource("BoxMesh_2")
|
||||
material_override = SubResource("StandardMaterial3D_2")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallEast"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallEast" unique_id=345267630]
|
||||
shape = SubResource("BoxShape3D_3")
|
||||
|
||||
[node name="WallWest" type="StaticBody3D" parent="."]
|
||||
position = Vector3(-14.6, 0.5, 0)
|
||||
[node name="WallWest" type="StaticBody3D" parent="." unique_id=1381404439]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 3, -41.94265, 0.5, 0)
|
||||
metadata/is_wall = true
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="WallWest"]
|
||||
mesh = SubResource("BoxMesh_2")
|
||||
material_override = SubResource("StandardMaterial3D_2")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallWest"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="WallWest" unique_id=1886984920]
|
||||
shape = SubResource("BoxShape3D_3")
|
||||
|
||||
[node name="StonewallLong" type="MeshInstance3D" parent="." unique_id=344639736]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -41.812336, 0.03495334, 41.707535)
|
||||
material_override = SubResource("StandardMaterial3D_faw0r")
|
||||
mesh = ExtResource("4_b121j")
|
||||
|
||||
[node name="StonewallLong2" type="MeshInstance3D" parent="." unique_id=662260765]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 41.5473, 0.03495334, 41.707535)
|
||||
material_override = SubResource("StandardMaterial3D_2eouu")
|
||||
mesh = ExtResource("4_b121j")
|
||||
|
||||
[node name="stone_big_static_body" type="StaticBody3D" parent="." unique_id=1255608090]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -41.812336, 0.03495334, 41.707535)
|
||||
metadata/is_wall = true
|
||||
|
||||
[node name="StoneBig" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1168238989]
|
||||
transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.406992, -0.03442, 62.38336)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig2" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1676907334]
|
||||
transform = Transform3D(-0.12806861, 0, -2.2567358, 0, 2.0585825, 0, 1.5920911, 0, -0.18153314, 23.829947, -0.984745, 26.145203)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig4" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1246644641]
|
||||
transform = Transform3D(1.5559804, -0.36610112, -0.31502956, -0.24391624, -0.13370866, -2.2326329, 0.26568016, 2.0213497, -0.20474209, 22.185747, -2.0810232, 20.007593)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig9" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1861534294]
|
||||
transform = Transform3D(-0.41531914, -1.9763203, 0.23432715, -0.24391624, -0.13370866, -2.2326329, 1.5228827, -0.56039596, -0.29368994, 60.134903, -2.0810232, 28.066338)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig5" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1443706271]
|
||||
transform = Transform3D(1.5559807, -0.36610094, -0.3150296, 0.31859365, 0.8005848, 2.0363264, -0.16905348, -1.8608594, 0.9380533, 13.821587, -2.0810232, 42.629684)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig6" type="MeshInstance3D" parent="stone_big_static_body" unique_id=334858580]
|
||||
transform = Transform3D(-0.08797024, -2.02528, -0.3859474, 0.3230838, -0.3668037, 2.180216, -1.5617405, 0.038198426, 0.4727706, 68.155014, -2.0810232, 61.285988)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig8" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1906336718]
|
||||
transform = Transform3D(-0.14056785, -3.2361987, -0.6167059, -2.2630332, -0.09968095, 1.6690874, -1.1716492, 0.58079386, -3.1498418, 65.5587, 0.17454244, 53.531506)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig7" type="MeshInstance3D" parent="stone_big_static_body" unique_id=2059340291]
|
||||
transform = Transform3D(-0.087970294, -2.0252798, -0.3859474, 1.5811539, -0.064864956, -0.31240427, 0.20825109, -0.3630381, 2.208904, 61.453, -2.0810232, 59.94174)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="StoneBig3" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1633278989]
|
||||
transform = Transform3D(-1.4497156, 0, 0.3155121, 0, 1.8903506, 0, -0.22258863, 0, -2.0549233, 61.013603, -0.03441809, 36.614697)
|
||||
material_override = SubResource("StandardMaterial3D_dke22")
|
||||
mesh = ExtResource("5_8c41q")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="stone_big_static_body" unique_id=117954266]
|
||||
transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.652334, 1.6238549, 62.58667)
|
||||
shape = SubResource("CylinderShape3D_6vs76")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="stone_big_static_body" unique_id=1462918149]
|
||||
transform = Transform3D(2.0258698, 0, 0.36553356, 0, 2.0585828, 0, -0.36553356, 0, 2.0258698, 63.120853, 1.6238549, 53.199097)
|
||||
shape = SubResource("BoxShape3D_qifjx")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="stone_big_static_body" unique_id=761915354]
|
||||
transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.887691, 1.6238549, 26.62331)
|
||||
shape = SubResource("CylinderShape3D_6vs76")
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="stone_big_static_body" unique_id=1397239926]
|
||||
transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 60.670692, 1.6238549, 36.420376)
|
||||
shape = SubResource("CylinderShape3D_6vs76")
|
||||
|
||||
+8
-12
@@ -1,10 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bpq8lf4mcvhw5"]
|
||||
[gd_scene format=3 uid="uid://bpq8lf4mcvhw5"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.gd" id="1_player"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_1"]
|
||||
radius = 0.4
|
||||
height = 1.0
|
||||
[ext_resource type="Script" uid="uid://beqb88qvr2lk0" path="res://scripts/Player.gd" id="1_player"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://d2cd02gb8dsor" path="res://assets/player.obj" id="2_v6fml"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.2, 0.55, 1, 1)
|
||||
@@ -15,16 +12,15 @@ roughness = 0.6
|
||||
radius = 0.4
|
||||
height = 1.0
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
[node name="Player" type="CharacterBody3D" unique_id=1013211477]
|
||||
script = ExtResource("1_player")
|
||||
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
mesh = SubResource("CapsuleMesh_1")
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="." unique_id=1038667614]
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = ExtResource("2_v6fml")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=754973203]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
shape = SubResource("CapsuleShape3D_1")
|
||||
|
||||
[node name="KickIndicator" type="MeshInstance3D" parent="."]
|
||||
[node name="KickIndicator" type="MeshInstance3D" parent="." unique_id=1065321163]
|
||||
|
||||
+6
-10
@@ -1,27 +1,23 @@
|
||||
[gd_scene format=3 uid="uid://b3rock7gyam2k"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Rock.gd" id="1_rock"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_1"]
|
||||
radius = 0.25
|
||||
height = 0.5
|
||||
[ext_resource type="Script" uid="uid://bqobsqconcup1" path="res://scripts/Rock.gd" id="1_rock"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://delefbdex2ovc" path="res://assets/stone_small.obj" id="2_wmx41"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.45, 0.38, 0.3, 1)
|
||||
roughness = 1.0
|
||||
metallic = 0.05
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_1"]
|
||||
radius = 0.25
|
||||
|
||||
[node name="Rock" type="CharacterBody3D"]
|
||||
[node name="Rock" type="CharacterBody3D" unique_id=1267213194]
|
||||
script = ExtResource("1_rock")
|
||||
|
||||
[node name="RockMesh" type="MeshInstance3D" parent="."]
|
||||
[node name="RockMesh" type="MeshInstance3D" parent="." unique_id=918783711]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
||||
mesh = SubResource("SphereMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = ExtResource("2_wmx41")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=2017780451]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
||||
shape = SubResource("SphereShape3D_1")
|
||||
|
||||
+6
-10
@@ -1,11 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://c3sticlaxmn1p"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Stick.gd" id="1_stick"]
|
||||
|
||||
[sub_resource type="CylinderMesh" id="CylinderMesh_1"]
|
||||
top_radius = 0.06
|
||||
bottom_radius = 0.06
|
||||
height = 0.65
|
||||
[ext_resource type="Script" uid="uid://ceo530cbtsr6e" path="res://scripts/Stick.gd" id="1_stick"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://tvrgdxmep0dl" path="res://assets/stick.obj" id="2_urm7b"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.55, 0.38, 0.18, 1)
|
||||
@@ -15,14 +11,14 @@ roughness = 0.95
|
||||
radius = 0.07
|
||||
height = 0.65
|
||||
|
||||
[node name="Stick" type="CharacterBody3D"]
|
||||
[node name="Stick" type="CharacterBody3D" unique_id=1893805391]
|
||||
script = ExtResource("1_stick")
|
||||
|
||||
[node name="StickMesh" type="MeshInstance3D" parent="."]
|
||||
[node name="StickMesh" type="MeshInstance3D" parent="." unique_id=1850002866]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
|
||||
mesh = SubResource("CylinderMesh_1")
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = ExtResource("2_urm7b")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=653008437]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.32, 0)
|
||||
shape = SubResource("CapsuleShape3D_1")
|
||||
|
||||
Reference in New Issue
Block a user