Files
GameJam2023/Scenes/Weapons/SingleShot.tscn
2023-09-04 01:33:30 -07:00

38 lines
1.2 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bwkp1ff25acp1"]
[ext_resource type="Script" path="res://Scripts/SingleShot.cs" id="1_a82kt"]
[ext_resource type="Texture2D" uid="uid://borp7xvlfdcmq" path="res://Textures/Projectiles/bubble.png" id="2_1dg7p"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3c0di"]
[node name="SingleShot" type="Node3D"]
script = ExtResource("1_a82kt")
Cooldown = 0.3
[node name="RigidBody3D" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1)
top_level = true
disable_mode = 2
collision_layer = 0
collision_mask = 34
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 1000
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0054872, -0.00215495, 0.0167444)
shape = SubResource("CylinderShape3D_3c0di")
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.002, 1, 0)
axis = 1
texture = ExtResource("2_1dg7p")
[node name="TTL" type="Timer" parent="."]
process_callback = 0
autostart = true
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]