91 lines
2.9 KiB
Plaintext
91 lines
2.9 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="StandardMaterial3D" id="StandardMaterial3D_5vpcx"]
|
|
albedo_color = Color(0.584314, 0.0352941, 0.141176, 1)
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_ugmuv"]
|
|
material = SubResource("StandardMaterial3D_5vpcx")
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_o6kys"]
|
|
radius = 0.8
|
|
|
|
[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.999848, 0, -0.0174524, 0, 1, 0, 0.0174524, 0, 0.999848, -1.27456, 0, 0)
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 10
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
|
|
transform = Transform3D(0.647894, 0, 0.761731, 0, 1, 0, -0.761731, 0, 0.647894, 0, 0, 0)
|
|
visible = false
|
|
mesh = SubResource("SphereMesh_ugmuv")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
shape = SubResource("SphereShape3D_o6kys")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
|
pixel_size = 0.05
|
|
axis = 1
|
|
texture = ExtResource("2_dv80m")
|
|
|
|
[node name="RigidBody3D2" type="RigidBody3D" parent="."]
|
|
transform = Transform3D(0.999848, 0, 0.0174524, 0, 1, 0, -0.0174524, 0, 0.999848, 1.32, 0, 0)
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 10
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D2"]
|
|
visible = false
|
|
mesh = SubResource("SphereMesh_ugmuv")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D2"]
|
|
shape = SubResource("SphereShape3D_o6kys")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D2"]
|
|
pixel_size = 0.05
|
|
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, -1.56619)
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 10
|
|
contact_monitor = true
|
|
can_sleep = false
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D3"]
|
|
transform = Transform3D(0.999848, 0, 0.0174524, 0, 1, 0, -0.0174524, 0, 0.999848, 0, 0, 0)
|
|
visible = false
|
|
mesh = SubResource("SphereMesh_ugmuv")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D3"]
|
|
shape = SubResource("SphereShape3D_o6kys")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D3"]
|
|
pixel_size = 0.05
|
|
axis = 1
|
|
texture = ExtResource("2_dv80m")
|