77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bq40xbqibrk1y"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/ShotgunBullet.cs" id="1_binxs"]
|
|
[ext_resource type="Texture2D" uid="uid://borp7xvlfdcmq" path="res://Textures/Projectiles/bubble.png" id="2_dv80m"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_eme14"]
|
|
radius = 0.3
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_752q2"]
|
|
radius = 0.3
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ebbqv"]
|
|
radius = 0.3
|
|
|
|
[node name="ShotgunBullet" type="Node3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.73894, 0)
|
|
script = ExtResource("1_binxs")
|
|
Cooldown = 0.5
|
|
_projectileSpeed = 15.0
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
transform = Transform3D(0.99863, 0, -0.052336, 0, 1, 0, 0.052336, 0, 0.99863, -0.508974, 0, 0)
|
|
collision_layer = 34
|
|
collision_mask = 32
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 1000
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
shape = SubResource("CylinderShape3D_eme14")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
|
axis = 1
|
|
texture = ExtResource("2_dv80m")
|
|
|
|
[node name="RigidBody3D2" type="RigidBody3D" parent="."]
|
|
transform = Transform3D(0.99863, 0, 0.052336, 0, 1, 0, -0.052336, 0, 0.99863, 0.647, 0, 0)
|
|
collision_layer = 34
|
|
collision_mask = 32
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 1000
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D2"]
|
|
shape = SubResource("CylinderShape3D_752q2")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D2"]
|
|
axis = 1
|
|
texture = ExtResource("2_dv80m")
|
|
|
|
[node name="RigidBody3D3" type="RigidBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.592052)
|
|
collision_layer = 34
|
|
collision_mask = 32
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 1000
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D3"]
|
|
shape = SubResource("CylinderShape3D_ebbqv")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D3"]
|
|
axis = 1
|
|
texture = ExtResource("2_dv80m")
|
|
|
|
[node name="TTL" type="Timer" parent="."]
|
|
process_callback = 0
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]
|