hotel-madness/scenes/entities/bullet.tscn

23 lines
685 B
Text

[gd_scene load_steps=4 format=3 uid="uid://bdxw7gc28nv6a"]
[ext_resource type="Script" path="res://scripts/entities/bullet.gd" id="1_di2ph"]
[sub_resource type="BoxMesh" id="BoxMesh_gbwh0"]
size = Vector3(0.1, 0.1, 0.2)
[sub_resource type="BoxShape3D" id="BoxShape3D_26n4t"]
size = Vector3(0.1, 0.1, 0.2)
[node name="Bullet" type="CharacterBody3D"]
script = ExtResource("1_di2ph")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_gbwh0")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_26n4t")
[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true
autostart = true