mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-13 19:13:47 +00:00
feat(*): Add the ability to score a goal
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cofdcxo5170rs"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cofdcxo5170rs"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/goal.gd" id="1_v8ikr"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_4ngif"]
|
||||
size = Vector3(3.5, 1.5, 0.1)
|
||||
@@ -7,9 +9,12 @@ size = Vector3(3.5, 1.5, 0.1)
|
||||
size = Vector3(3.5, 1.5, 0.1)
|
||||
|
||||
[node name="Goal" type="Area3D"]
|
||||
script = ExtResource("1_v8ikr")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_4ngif")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_nmd5r")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user