You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
7.0 KiB
186 lines
7.0 KiB
2 years ago
|
[gd_scene load_steps=19 format=3 uid="uid://b7o2y54duqxft"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://bmormqcp2qv4k" path="res://assets/terrain_grass.png" id="1_mi8br"]
|
||
|
[ext_resource type="PackedScene" uid="uid://bgymmkpfgntea" path="res://scenes/Player.tscn" id="2_4nlbn"]
|
||
|
[ext_resource type="Script" path="res://scripts/Item.gd" id="3_2aosx"]
|
||
|
|
||
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_4q4bb"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eyy3t"]
|
||
|
albedo_texture = ExtResource("1_mi8br")
|
||
|
uv1_scale = Vector3(8, 8, 8)
|
||
|
texture_filter = 0
|
||
|
|
||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_ce3ji"]
|
||
|
material = SubResource("StandardMaterial3D_eyy3t")
|
||
|
size = Vector2(256, 256)
|
||
|
|
||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1w5kh"]
|
||
|
size = Vector3(2, 0.1, 1)
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_jergk"]
|
||
|
size = Vector3(2, 0.1, 1)
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_yyb1u"]
|
||
|
|
||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_cx0e5"]
|
||
|
size = Vector3(0.05, 0.2, 0.05)
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4jkru"]
|
||
|
albedo_color = Color(1, 0.364706, 1, 1)
|
||
|
|
||
|
[sub_resource type="BoxMesh" id="BoxMesh_2cpu0"]
|
||
|
material = SubResource("StandardMaterial3D_4jkru")
|
||
|
size = Vector3(0.05, 0.2, 0.05)
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2pcea"]
|
||
|
albedo_color = Color(1, 0, 0, 1)
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id="CylinderMesh_t8qr8"]
|
||
|
material = SubResource("StandardMaterial3D_2pcea")
|
||
|
top_radius = 0.01
|
||
|
bottom_radius = 0.01
|
||
|
height = 0.1
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_befdk"]
|
||
|
albedo_color = Color(0, 1, 0, 1)
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id="CylinderMesh_kgvwt"]
|
||
|
material = SubResource("StandardMaterial3D_befdk")
|
||
|
top_radius = 0.01
|
||
|
bottom_radius = 0.01
|
||
|
height = 0.1
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gx7gw"]
|
||
|
albedo_color = Color(0, 0, 1, 1)
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id="CylinderMesh_8iq4p"]
|
||
|
material = SubResource("StandardMaterial3D_gx7gw")
|
||
|
top_radius = 0.01
|
||
|
bottom_radius = 0.01
|
||
|
height = 0.1
|
||
|
|
||
|
[node name="World" type="Node3D"]
|
||
|
|
||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||
|
transform = Transform3D(0.56961, 0.533344, -0.625371, -2.77304e-08, 0.760871, 0.648904, 0.821916, -0.369622, 0.433399, 0, 4, 0)
|
||
|
light_color = Color(0.968627, 0.858824, 0.717647, 1)
|
||
|
shadow_enabled = true
|
||
|
|
||
|
[node name="Floor" type="StaticBody3D" parent="."]
|
||
|
collision_mask = 0
|
||
|
metadata/_edit_lock_ = true
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
|
||
|
shape = SubResource("WorldBoundaryShape3D_4q4bb")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
|
||
|
mesh = SubResource("PlaneMesh_ce3ji")
|
||
|
|
||
|
[node name="Player" parent="." instance=ExtResource("2_4nlbn")]
|
||
|
|
||
|
[node name="Table" type="Node3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2)
|
||
|
metadata/_edit_lock_ = true
|
||
|
|
||
|
[node name="Box" type="StaticBody3D" parent="Table"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table/Box"]
|
||
|
shape = SubResource("BoxShape3D_1w5kh")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table/Box"]
|
||
|
mesh = SubResource("BoxMesh_jergk")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table"]
|
||
|
transform = Transform3D(0.099, 0, -8.12102e-05, 0, 1, 0, 8.12102e-05, 0, 0.099, -0.900327, 0.5, 0.399261)
|
||
|
mesh = SubResource("BoxMesh_yyb1u")
|
||
|
skeleton = NodePath("")
|
||
|
|
||
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Table"]
|
||
|
transform = Transform3D(0.099, 0, -8.12102e-05, 0, 1, 0, 8.12102e-05, 0, 0.099, -0.899678, 0.5, -0.392738)
|
||
|
mesh = SubResource("BoxMesh_yyb1u")
|
||
|
skeleton = NodePath("")
|
||
|
|
||
|
[node name="MeshInstance3D3" type="MeshInstance3D" parent="Table"]
|
||
|
transform = Transform3D(0.099, 0, -8.12102e-05, 0, 1, 0, 8.12102e-05, 0, 0.099, 0.9, 0.5, 0.401)
|
||
|
mesh = SubResource("BoxMesh_yyb1u")
|
||
|
skeleton = NodePath("")
|
||
|
|
||
|
[node name="MeshInstance3D4" type="MeshInstance3D" parent="Table"]
|
||
|
transform = Transform3D(0.099, 0, -8.12102e-05, 0, 1, 0, 8.12102e-05, 0, 0.099, 0.9, 0.5, -0.391)
|
||
|
mesh = SubResource("BoxMesh_yyb1u")
|
||
|
skeleton = NodePath("")
|
||
|
|
||
|
[node name="Item" type="RigidBody3D" parent="."]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.762804, 1.15199, -1.85385)
|
||
|
collision_layer = 4
|
||
|
collision_mask = 7
|
||
|
script = ExtResource("3_2aosx")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Item"]
|
||
|
shape = SubResource("BoxShape3D_cx0e5")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Item"]
|
||
|
mesh = SubResource("BoxMesh_2cpu0")
|
||
|
|
||
|
[node name="X" type="MeshInstance3D" parent="Item"]
|
||
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0.1, 0, 0)
|
||
|
mesh = SubResource("CylinderMesh_t8qr8")
|
||
|
|
||
|
[node name="Y" type="MeshInstance3D" parent="Item"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
||
|
mesh = SubResource("CylinderMesh_kgvwt")
|
||
|
|
||
|
[node name="Z" type="MeshInstance3D" parent="Item"]
|
||
|
transform = Transform3D(1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0, 0, 0.1)
|
||
|
mesh = SubResource("CylinderMesh_8iq4p")
|
||
|
|
||
|
[node name="Item2" type="RigidBody3D" parent="."]
|
||
|
transform = Transform3D(-3.79793e-08, -0.868865, 0.495049, 1, -4.37114e-08, 0, 2.16393e-08, 0.495049, 0.868865, -0.49893, 1.07653, -1.68684)
|
||
|
collision_layer = 4
|
||
|
collision_mask = 7
|
||
|
script = ExtResource("3_2aosx")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Item2"]
|
||
|
shape = SubResource("BoxShape3D_cx0e5")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Item2"]
|
||
|
mesh = SubResource("BoxMesh_2cpu0")
|
||
|
|
||
|
[node name="X" type="MeshInstance3D" parent="Item2"]
|
||
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0.1, 0, 0)
|
||
|
mesh = SubResource("CylinderMesh_t8qr8")
|
||
|
|
||
|
[node name="Y" type="MeshInstance3D" parent="Item2"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
||
|
mesh = SubResource("CylinderMesh_kgvwt")
|
||
|
|
||
|
[node name="Z" type="MeshInstance3D" parent="Item2"]
|
||
|
transform = Transform3D(1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0, 0, 0.1)
|
||
|
mesh = SubResource("CylinderMesh_8iq4p")
|
||
|
|
||
|
[node name="Item3" type="RigidBody3D" parent="."]
|
||
|
transform = Transform3D(0.994627, -0.103522, -4.52508e-09, 0, -4.37114e-08, 1, -0.103522, -0.994627, -4.34765e-08, -0.106395, 1.07776, -1.65152)
|
||
|
collision_layer = 4
|
||
|
collision_mask = 7
|
||
|
script = ExtResource("3_2aosx")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Item3"]
|
||
|
shape = SubResource("BoxShape3D_cx0e5")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Item3"]
|
||
|
mesh = SubResource("BoxMesh_2cpu0")
|
||
|
|
||
|
[node name="X" type="MeshInstance3D" parent="Item3"]
|
||
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0.1, 0, 0)
|
||
|
mesh = SubResource("CylinderMesh_t8qr8")
|
||
|
|
||
|
[node name="Y" type="MeshInstance3D" parent="Item3"]
|
||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
||
|
mesh = SubResource("CylinderMesh_kgvwt")
|
||
|
|
||
|
[node name="Z" type="MeshInstance3D" parent="Item3"]
|
||
|
transform = Transform3D(1.91069e-15, -4.37114e-08, -1, -1, -4.37114e-08, 0, -4.37114e-08, 1, -4.37114e-08, 0, 0, 0.1)
|
||
|
mesh = SubResource("CylinderMesh_8iq4p")
|