42 lines
1.8 KiB
Plaintext
42 lines
1.8 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://7o1425mnc60b"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://comq7sgbauwwv" path="res://resources/material/texture_01_d.png" id="1_y88ux"]
|
|
[ext_resource type="Texture2D" uid="uid://0sh578p713ma" path="res://resources/material/texture_01_o.png" id="2_jlk3g"]
|
|
[ext_resource type="Texture2D" uid="uid://dj7oas0jsletv" path="res://resources/material/texture_01_s.png" id="3_6gliq"]
|
|
[ext_resource type="Texture2D" uid="uid://d4gxgqcilesjs" path="res://resources/material/texture_01_n.png" id="4_ptv0l"]
|
|
[ext_resource type="Texture2D" uid="uid://7rxdelmtxrlp" path="res://resources/material/texture_01_p.png" id="5_wa81s"]
|
|
[ext_resource type="Script" path="res://scripts/hurtbox.gd" id="6_jkfcn"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_47j60"]
|
|
albedo_texture = ExtResource("1_y88ux")
|
|
metallic_texture = ExtResource("3_6gliq")
|
|
roughness_texture = ExtResource("5_wa81s")
|
|
roughness_texture_channel = 3
|
|
normal_enabled = true
|
|
normal_texture = ExtResource("4_ptv0l")
|
|
ao_enabled = true
|
|
ao_texture = ExtResource("2_jlk3g")
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_p3rd5"]
|
|
material = SubResource("StandardMaterial3D_47j60")
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_7tslk"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_csmi1"]
|
|
size = Vector3(1.25, 1.25, 1.25)
|
|
|
|
[node name="Box" type="StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("BoxMesh_p3rd5")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_7tslk")
|
|
|
|
[node name="HurtBox" type="Area3D" parent="."]
|
|
script = ExtResource("6_jkfcn")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="HurtBox"]
|
|
shape = SubResource("BoxShape3D_csmi1")
|