39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://cyn2wn6ffsnu7"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/SingleShot.cs" id="1_18l5k"]
|
|
[ext_resource type="Texture2D" uid="uid://uatt2w2jsoan" path="res://Scenes/Weapons/LB HEDRON.png" id="1_nmsa0"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_njobr"]
|
|
radius = 0.3
|
|
|
|
[node name="Single" type="Node3D"]
|
|
script = ExtResource("1_18l5k")
|
|
Cooldown = 0.3
|
|
_projectileSpeed = 10.0
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 0
|
|
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, 0.644825, 0)
|
|
shape = SubResource("CylinderShape3D_njobr")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
|
transform = Transform3D(0.07, 0, 0, 0, 0.07, 0, 0, 0, 0.07, -0.244938, 1.29552, 0.266473)
|
|
centered = false
|
|
axis = 1
|
|
texture = ExtResource("1_nmsa0")
|
|
|
|
[node name="TTL" type="Timer" parent="."]
|
|
process_callback = 0
|
|
wait_time = 0.8
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]
|