From 48d4f9de2536be2617aec3d58697a0db061d038c Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sun, 17 Jul 2022 16:07:47 +0200 Subject: level loading is supported now --- godot/scenes/levels/GoalTriggerZone.tscn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'godot/scenes/levels/GoalTriggerZone.tscn') diff --git a/godot/scenes/levels/GoalTriggerZone.tscn b/godot/scenes/levels/GoalTriggerZone.tscn index 54cdfe1..6e52b62 100644 --- a/godot/scenes/levels/GoalTriggerZone.tscn +++ b/godot/scenes/levels/GoalTriggerZone.tscn @@ -2,8 +2,8 @@ [ext_resource path="res://scenes/objects/GoalTriggerBox.gd" type="Script" id=1] - [sub_resource type="BoxShape" id=1] +extents = Vector3( 0.205361, 0.206743, 0.202729 ) [node name="GoalTriggerZone" type="Area"] transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 20, 0, 0 ) @@ -12,4 +12,5 @@ script = ExtResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="."] shape = SubResource( 1 ) -[connection signal="body_entered" from="." to="." method="_on_Area2_body_entered"] +[connection signal="body_entered" from="." to="." method="_on_GoalTriggerZone_body_entered"] +[connection signal="tree_entered" from="." to="." method="_on_GoalTriggerZone_tree_entered"] -- cgit