28 lines
1009 B
Plaintext
28 lines
1009 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://c2ud2okha448s"]
|
|
|
|
[ext_resource type="Material" uid="uid://byworh783tmdj" path="res://Materials/candyCaneRing.tres" id="1_1t2i6"]
|
|
[ext_resource type="Script" path="res://Scripts/Ring.gd" id="1_pey8v"]
|
|
|
|
[sub_resource type="TorusMesh" id="TorusMesh_skxoo"]
|
|
material = ExtResource("1_1t2i6")
|
|
inner_radius = 0.8
|
|
rings = 16
|
|
ring_segments = 8
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_lavpq"]
|
|
height = 0.060093
|
|
radius = 0.946404
|
|
|
|
[node name="SantaRing" type="Area3D"]
|
|
script = ExtResource("1_pey8v")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
|
mesh = SubResource("TorusMesh_skxoo")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
|
shape = SubResource("CylinderShape3D_lavpq")
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|