small racing game im working on
Diffstat (limited to 'scenes/ring_finish.tscn')
-rw-r--r--scenes/ring_finish.tscn11
1 files changed, 7 insertions, 4 deletions
diff --git a/scenes/ring_finish.tscn b/scenes/ring_finish.tscn
index 7e9f7d0..1c3a86e 100644
--- a/scenes/ring_finish.tscn
+++ b/scenes/ring_finish.tscn
@@ -3,13 +3,13 @@
[ext_resource type="Script" path="res://scenes/ring_finish.gd" id="1_oj823"]
[ext_resource type="TorusMesh" uid="uid://bc8hyk8kfo4q1" path="res://assets/meshes/ring_finish.tres" id="2_hvrqd"]
-[sub_resource type="TorusMesh" id="TorusMesh_oms0g"]
+[sub_resource type="TorusMesh" id="TorusMesh_c1qmt"]
inner_radius = 25.0
outer_radius = 40.0
rings = 10
ring_segments = 4
-[sub_resource type="BoxShape3D" id="BoxShape3D_ue5ee"]
+[sub_resource type="BoxShape3D" id="BoxShape3D_431ml"]
size = Vector3(52, 52, 3)
[node name="RingFinish" type="PathFollow3D"]
@@ -23,12 +23,15 @@ mesh = ExtResource("2_hvrqd")
transform = Transform3D(1, 0, 0, 0, 1, -8.35187e-23, 0, -8.35187e-23, 1, 0, 0, 0)
visible = false
use_collision = true
-mesh = SubResource("TorusMesh_oms0g")
+mesh = SubResource("TorusMesh_c1qmt")
[node name="PlayerDetector" type="Area3D" parent="."]
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.34943, 1.90735e-06, 0.0562134)
collision_layer = 0
collision_mask = 2
monitorable = false
[node name="Area" type="CollisionShape3D" parent="PlayerDetector"]
-shape = SubResource("BoxShape3D_ue5ee")
+shape = SubResource("BoxShape3D_431ml")
+
+[connection signal="body_entered" from="PlayerDetector" to="." method="enter" flags=6 unbinds=1]