45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
[gd_scene format=3 uid="uid://d1fb1p83uhpwv"]
|
|
|
|
[ext_resource type="Script" uid="uid://bcedvro1n83c0" path="res://scripts/weapon.gd" id="1_pko6q"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_byv2x"]
|
|
size = Vector3(0.5, 0.5, 0.5)
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_r1f0u"]
|
|
top_radius = 0.1
|
|
bottom_radius = 0.1
|
|
height = 0.9
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_r1f0u"]
|
|
size = Vector3(0.5, 0.5, 0.5)
|
|
|
|
[node name="Mark12" type="Node3D" unique_id=2057435618]
|
|
script = ExtResource("1_pko6q")
|
|
|
|
[node name="Yaw" type="Node3D" parent="." unique_id=1821943770]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
|
|
[node name="Housing" type="MeshInstance3D" parent="Yaw" unique_id=522024219]
|
|
mesh = SubResource("BoxMesh_byv2x")
|
|
|
|
[node name="Pitch" type="Node3D" parent="Yaw" unique_id=967633068]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Yaw/Pitch" unique_id=1633761378]
|
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, -0.4883741)
|
|
mesh = SubResource("CylinderMesh_r1f0u")
|
|
|
|
[node name="Muzzle" type="Marker3D" parent="Yaw/Pitch" unique_id=471595781]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.9655868)
|
|
|
|
[node name="Hitbox" type="AnimatableBody3D" parent="Yaw" unique_id=719525719]
|
|
unique_name_in_owner = true
|
|
collision_layer = 64
|
|
collision_mask = 0
|
|
sync_to_physics = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Yaw/Hitbox" unique_id=1877916643]
|
|
shape = SubResource("BoxShape3D_r1f0u")
|