Files
FPS/Scenes/level_2.tscn
2023-08-04 11:30:18 -07:00

58 lines
2.2 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://bkuyttbckhl3"]
[ext_resource type="Script" path="res://Scripts/Level2.cs" id="1_baeon"]
[sub_resource type="BoxShape3D" id="BoxShape3D_ggo5h"]
size = Vector3(10, 0.5, 20)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_78bnu"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="BoxMesh" id="BoxMesh_oq36m"]
material = SubResource("StandardMaterial3D_78bnu")
size = Vector3(10, 0.5, 20)
[sub_resource type="BoxShape3D" id="BoxShape3D_b5rn0"]
size = Vector3(10, 5, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kfppx"]
albedo_color = Color(1, 0.494118, 1, 1)
[sub_resource type="BoxMesh" id="BoxMesh_0mdec"]
material = SubResource("StandardMaterial3D_kfppx")
size = Vector3(10, 5, 1)
[node name="Level2" type="Node3D" node_paths=PackedStringArray("_spawnPoint")]
script = ExtResource("1_baeon")
_spawnPoint = NodePath("Spawn Point")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
shape = SubResource("BoxShape3D_ggo5h")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.189965, 0)
mesh = SubResource("BoxMesh_oq36m")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(-0.0510635, -0.435165, -0.898901, 0, -0.900076, 0.435734, -0.998695, 0.0222501, 0.045961, -5.60126, 7.19548, 0)
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(-0.000924988, 0, 1, 0, 1, 0, -1, 0, -0.000924988, -5.22508, 2.54778, 3.19473)
shape = SubResource("BoxShape3D_b5rn0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Area3D"]
transform = Transform3D(-0.000924988, -0.000349066, 1, 0, 1, 0.000349066, -1, 3.22882e-07, -0.000924988, -5.21455, 2.52005, 3.19472)
mesh = SubResource("BoxMesh_0mdec")
[node name="Spawn Point" type="Marker3D" parent="."]
transform = Transform3D(-0.999587, 0, -0.0287242, 0, 1, 0, 0.0287242, 0, -0.999587, 0, 0.712399, -3.24364)
[connection signal="body_entered" from="Area3D" to="." method="OnCollisionWithLevelLoader"]