[gd_scene load_steps=5 format=3 uid="uid://oykrff3g74eo"] [ext_resource type="Script" uid="uid://b788twwo1o6l2" path="res://Towers/Projectiles/Projectile.gd" id="1_ggq0q"] [ext_resource type="Texture2D" uid="uid://dqyhhvxpwtpsy" path="res://Assets/Emotes/emote_star.png" id="2_08w86"] [sub_resource type="SphereShape3D" id="SphereShape3D_r5o86"] radius = 0.1 [sub_resource type="SphereShape3D" id="SphereShape3D_dsts2"] radius = 0.1 [node name="Projectile" type="CharacterBody3D"] script = ExtResource("1_ggq0q") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SphereShape3D_r5o86") [node name="Sprite3D" type="Sprite3D" parent="."] transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 0, 0) billboard = 2 texture = ExtResource("2_08w86") [node name="HitBox" type="Area3D" parent="."] collision_layer = 6 collision_mask = 6 [node name="ProjectileSize" type="CollisionShape3D" parent="HitBox"] shape = SubResource("SphereShape3D_dsts2") debug_color = Color(0.926858, 0.237749, 0.335021, 0.42) [node name="DamageArea" type="Area3D" parent="."] collision_layer = 6 collision_mask = 6 [node name="ProjectileArea" type="CollisionShape3D" parent="DamageArea"] debug_color = Color(0.926858, 0.237749, 0.335021, 0.42) [connection signal="body_entered" from="HitBox" to="." method="onBodyCollideWithProjectile" flags=3] [connection signal="body_entered" from="DamageArea" to="." method="onBodyEnteredDamageArea"] [connection signal="body_exited" from="DamageArea" to="." method="removeTarget"]