[gd_scene load_steps=17 format=3 uid="uid://b2jhgtduapovl"]

[ext_resource type="Script" path="res://scripts/Player.gd" id="1_o6o4b"]
[ext_resource type="ArrayMesh" uid="uid://xh7mm0ldn6yw" path="res://models/knife.obj" id="2_7hcoq"]
[ext_resource type="PackedScene" uid="uid://cnu1vf8k5i3tv" path="res://scenes/models/pistol.tscn" id="2_nxbij"]
[ext_resource type="Texture2D" path="res://knife_texturesv3.png" id="3_8p34k"]
[ext_resource type="PackedScene" uid="uid://caos4gg5cd6f6" path="res://scenes/models/ak_47.tscn" id="3_r56e3"]
[ext_resource type="Material" uid="uid://btj7xxav4d6l0" path="res://textures/materials/orange.res" id="6_md2fv"]
[ext_resource type="Material" uid="uid://ojceh78w7jp0" path="res://textures/materials/black90%.res" id="7_2k5kn"]
[ext_resource type="ArrayMesh" uid="uid://dpdsmpuycacsx" path="res://models/playerv2.obj" id="7_jg2rj"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jqoeg"]
albedo_texture = ExtResource("3_8p34k")

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0suq1"]
albedo_texture = ExtResource("3_8p34k")

[sub_resource type="BoxShape3D" id="BoxShape3D_04dhp"]
size = Vector3(0.379028, 0.376923, 0.371674)

[sub_resource type="BoxShape3D" id="BoxShape3D_xes75"]
size = Vector3(0.44751, 0.866943, 0.152832)

[sub_resource type="BoxShape3D" id="BoxShape3D_61s8a"]
size = Vector3(0.18811, 1.06403, 0.191895)

[sub_resource type="BoxShape3D" id="BoxShape3D_slu1u"]
size = Vector3(0.191162, 1.05872, 0.195557)

[sub_resource type="BoxShape3D" id="BoxShape3D_mtx2c"]
size = Vector3(0.177368, 1.06198, 0.190918)

[sub_resource type="BoxShape3D" id="BoxShape3D_shrr1"]
size = Vector3(0.180664, 1.06628, 0.180664)

[node name="player" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.15595, 0)
script = ExtResource("1_o6o4b")

[node name="Head" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.94573, 0)

[node name="Camera" type="Camera3D" parent="Head"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0834589, 0)
fov = 90.0

[node name="viewRaycast" type="RayCast3D" parent="Head/Camera"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0123241, -0.315944)
target_position = Vector3(0, 0, -100)

[node name="Hand" type="Node3D" parent="Head/Camera"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.72454, -0.463491, -0.808041)

[node name="knife" type="MeshInstance3D" parent="Head/Camera/Hand"]
transform = Transform3D(-0.139396, -0.0769224, -0.0158664, -0.077265, 0.140107, -0.000437333, 0.014104, 0.00728098, -0.159211, -0.158471, 0.141593, 0.229943)
material_override = SubResource("StandardMaterial3D_jqoeg")
mesh = ExtResource("2_7hcoq")
surface_material_override/0 = SubResource("StandardMaterial3D_0suq1")

[node name="raycast" type="RayCast3D" parent="Head/Camera/Hand/knife"]
transform = Transform3D(1, -2.38419e-07, -1.49012e-08, -5.96046e-08, 1, 0, 0, -1.11759e-08, 1, -0.04988, 2.15182, 0.0228496)

[node name="pistol" parent="Head/Camera/Hand" instance=ExtResource("2_nxbij")]
transform = Transform3D(1, 0, -3.55271e-15, 0, 1, 0, 3.55271e-15, 0, 1, 2.38419e-07, -0.0344509, 0.118615)
visible = false

[node name="ak-47" parent="Head/Camera/Hand" instance=ExtResource("3_r56e3")]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, -0.30437, -0.235472, 0.183832)
visible = false

[node name="Nickname" type="Label3D" parent="Head"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.541, 0)
billboard = 1
text = "Unnamed"

[node name="Playerv2" type="MeshInstance3D" parent="Head"]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -2.04673, 0)
mesh = ExtResource("7_jg2rj")
skeleton = NodePath("../../..")
surface_material_override/0 = ExtResource("6_md2fv")
surface_material_override/1 = ExtResource("6_md2fv")
surface_material_override/2 = ExtResource("7_2k5kn")
surface_material_override/3 = ExtResource("7_2k5kn")
surface_material_override/4 = ExtResource("6_md2fv")
surface_material_override/5 = ExtResource("6_md2fv")
surface_material_override/6 = ExtResource("7_2k5kn")
surface_material_override/7 = ExtResource("7_2k5kn")
surface_material_override/8 = ExtResource("7_2k5kn")
surface_material_override/9 = ExtResource("6_md2fv")
surface_material_override/10 = ExtResource("6_md2fv")
surface_material_override/11 = ExtResource("6_md2fv")
surface_material_override/12 = ExtResource("7_2k5kn")
surface_material_override/13 = ExtResource("6_md2fv")
surface_material_override/14 = ExtResource("7_2k5kn")
surface_material_override/15 = ExtResource("6_md2fv")
surface_material_override/16 = ExtResource("7_2k5kn")
surface_material_override/17 = ExtResource("6_md2fv")
surface_material_override/18 = ExtResource("6_md2fv")
surface_material_override/19 = ExtResource("7_2k5kn")
surface_material_override/20 = ExtResource("7_2k5kn")
surface_material_override/21 = ExtResource("7_2k5kn")
surface_material_override/22 = ExtResource("6_md2fv")
surface_material_override/23 = ExtResource("6_md2fv")
surface_material_override/24 = ExtResource("6_md2fv")
surface_material_override/25 = ExtResource("7_2k5kn")

[node name="collisionhead" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000598475, 0.993303, 0.0291694)
shape = SubResource("BoxShape3D_04dhp")

[node name="collisionbody" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.003387, 0.364707, 0.0712848)
shape = SubResource("BoxShape3D_xes75")

[node name="collisionlefthand" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.352796, 0.209396, 0.0609986)
shape = SubResource("BoxShape3D_61s8a")

[node name="collisionrighthand" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.340745, 0.207778, 0.0591591)
shape = SubResource("BoxShape3D_slu1u")

[node name="collisionrightleg" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125481, -0.602212, 0.0608763)
shape = SubResource("BoxShape3D_mtx2c")

[node name="collisionleftleg" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.130327, -0.599574, 0.0610861)
shape = SubResource("BoxShape3D_shrr1")
