File size: 792 Bytes
7b240d2
8921443
7b240d2
8921443
7b240d2
 
 
8921443
7b240d2
8921443
7b240d2
8921443
 
7b240d2
8921443
 
 
 
7b240d2
 
8921443
 
 
 
7b240d2
8921443
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=4 format=3 uid="uid://bjx0dykb8q6kf"]

[ext_resource type="Script" path="res://Goal.gd" id="1"]

[sub_resource type="StandardMaterial3D" id="1"]
transparency = 1
albedo_color = Color(0.372549, 0.0823529, 0.109804, 0.705882)

[sub_resource type="CylinderShape3D" id="2"]
height = 1.0
radius = 5.0

[node name="Goal" type="CSGTorus3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 34, 11)
inner_radius = 8.0
outer_radius = 10.0
sides = 32
ring_sides = 12
material = SubResource("1")
script = ExtResource("1")

[node name="Area3D" type="Area3D" parent="."]

[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("2")

[connection signal="body_entered" from="Area3D" to="." method="_on_Area_body_entered"]