[gd_scene load_steps=5 format=3 uid="uid://dbv1l74q66rdr"]

[ext_resource type="PackedScene" uid="uid://dnofvejpr6lvx" path="res://3D/BlockbenchModels/Teleporter/Teleporter.gltf" id="1_1cq1b"]
[ext_resource type="Script" uid="uid://dmpd31aphufg7" path="res://Scripts/Activables/3D/Teleporter3D.cs" id="1_3138p"]

[sub_resource type="BoxShape3D" id="BoxShape3D_jvaa5"]
size = Vector3(0.855408, 0.0617218, 0.878296)

[sub_resource type="CylinderShape3D" id="CylinderShape3D_5c8o5"]
height = 0.949707
radius = 0.257813

[node name="Teleporter" type="StaticBody3D"]
script = ExtResource("1_3138p")
TeleportOffset = Vector3(0, 0.4, 0)

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00344848, -0.0301591, 0.000671387)
shape = SubResource("BoxShape3D_jvaa5")

[node name="blockbench_export" parent="." instance=ExtResource("1_1cq1b")]

[node name="TeleporterTrigger" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 2

[node name="CollisionShape3D" type="CollisionShape3D" parent="TeleporterTrigger"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.525146, 0)
shape = SubResource("CylinderShape3D_5c8o5")

[connection signal="body_entered" from="TeleporterTrigger" to="." method="_on_body_entered"]
