OverviewFilesCommitsIssuesDocsReleasesPeers

godot-marble_madness_demo / levels / portal / Portal.tscn

19 lines · tscn ref:
[gd_scene load_steps=3 format=2]

[ext_resource path="res://levels/scenes/portal.gd" type="Script" id=1]

[sub_resource type="BoxShape" id=1]

[node name="Portal" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.178, 1.877, -3.673 )
script = ExtResource( 1 )
portal_destination = "tumble.pck"

[node name="Hitbox" type="Area" parent="."]

[node name="CollisionShape" type="CollisionShape" parent="Hitbox"]
transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.72286, -8.67153, 19.502 )
shape = SubResource( 1 )

[connection signal="body_shape_entered" from="Hitbox" to="." method="_on_Hitbox_body_shape_entered"]