My first 3D game with Godot 4.4
This commit is contained in:
19
player/bullet_3d.tscn
Normal file
19
player/bullet_3d.tscn
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ct6nuuuphybba"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cjqjeylpmrmth" path="res://player/bullet_3d.gd" id="1_hgguu"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2dxu3lnx1jx5" path="res://player/projectile/projectile_3d.tscn" id="1_kixxk"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_hgguu"]
|
||||
radius = 0.238564
|
||||
|
||||
[node name="Bullet3D" type="Area3D"]
|
||||
top_level = true
|
||||
collision_mask = 3
|
||||
script = ExtResource("1_hgguu")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_hgguu")
|
||||
|
||||
[node name="Projectile3D" parent="." instance=ExtResource("1_kixxk")]
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in New Issue
Block a user