47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://b73y71y3efmv"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/player/player.gd" id="1_xt3i8"]
|
|
[ext_resource type="Material" uid="uid://cc18ee0wbfoud" path="res://resources/materials/debug/debug_player.tres" id="2_0p422"]
|
|
[ext_resource type="Script" path="res://scripts/player/player_attack.gd" id="3_8pbtx"]
|
|
[ext_resource type="Material" uid="uid://bdi02rpvdukem" path="res://resources/materials/debug/debug_attack.tres" id="4_ll2ct"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_apl1i"]
|
|
height = 1.8
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_dtg5r"]
|
|
height = 1.8
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_fdktb"]
|
|
size = Vector3(0.5, 0.5, 0.5)
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_m8fdo"]
|
|
height = 1.0
|
|
radius = 1.5
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_layer = 16
|
|
script = ExtResource("1_xt3i8")
|
|
_collision_debug_material = ExtResource("2_0p422")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
shape = SubResource("CylinderShape3D_apl1i")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
mesh = SubResource("CapsuleMesh_dtg5r")
|
|
|
|
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.17779, 0.357218)
|
|
mesh = SubResource("BoxMesh_fdktb")
|
|
|
|
[node name="AttackArea" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 32
|
|
script = ExtResource("3_8pbtx")
|
|
_collision_debug_material = ExtResource("4_ll2ct")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="AttackArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("CylinderShape3D_m8fdo")
|