2023-01-08 17:39:37 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cu53ekfgwammu"]
|
2023-01-08 01:25:48 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://player/onhand/PeaShooter.gd" id="1_bl35a"]
|
2023-01-08 19:18:48 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dkkjtqeta3aul" path="res://player/onhand/peashooter_model.tscn" id="2_ra8vl"]
|
2023-01-08 15:44:18 +00:00
|
|
|
[ext_resource type="AudioStream" uid="uid://bp07vx515hkr2" path="res://assets/peashooter/peashooter.wav" id="4_uhlty"]
|
2023-01-08 01:25:48 +00:00
|
|
|
|
|
|
|
[node name="PeaShooter" type="Node3D"]
|
|
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
|
|
|
|
script = ExtResource("1_bl35a")
|
|
|
|
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="."]
|
|
|
|
target_position = Vector3(1000, 0, 0)
|
2023-01-08 13:48:15 +00:00
|
|
|
collision_mask = 24
|
|
|
|
collide_with_areas = true
|
2023-01-08 15:44:18 +00:00
|
|
|
|
2023-01-08 19:22:56 +00:00
|
|
|
[node name="ShootSound" type="AudioStreamPlayer" parent="."]
|
2023-01-08 15:44:18 +00:00
|
|
|
stream = ExtResource("4_uhlty")
|
2023-01-08 19:15:36 +00:00
|
|
|
max_polyphony = 10
|
2023-01-08 17:39:37 +00:00
|
|
|
|
|
|
|
[node name="model" parent="." instance=ExtResource("2_ra8vl")]
|
|
|
|
transform = Transform3D(-0.5, 1.74393e-16, 4.37114e-08, 1.74393e-16, 0.5, -1.74393e-16, -4.37114e-08, -1.74393e-16, -0.5, 0.6, -0.8, 0.5)
|