1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-24 08:44:18 +00:00
pineapple-surf/island/sinking/Sea.tscn

18 lines
691 B
Text

[gd_scene load_steps=4 format=3]
[ext_resource type="PackedScene" uid="uid://c7lblmilr3gob" path="res://island/sinking/SeaMesh.tscn" id="1_6je2t"]
[ext_resource type="Script" path="res://island/sinking/SinkArea.gd" id="2_ethjj"]
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_hpkdw"]
[node name="Sea" type="Node3D"]
[node name="SeaMesh" parent="." instance=ExtResource("1_6je2t")]
[node name="SinkArea" type="Area3D" parent="."]
script = ExtResource("2_ethjj")
[node name="Shape" type="CollisionShape3D" parent="SinkArea"]
shape = SubResource("WorldBoundaryShape3D_hpkdw")
[connection signal="body_entered" from="SinkArea" to="SinkArea" method="_on_body_entered"]