]> Untitled Git - lightcycles.git/blobdiff - map/world.tscn
Full collisions, hitboxes, walls appearing properly
[lightcycles.git] / map / world.tscn
index a3f6d32a2f002c8fd7b1cef42b6a75c3638036b4..c392607af233661c00b5f5a19f66a7b03ce5f177 100644 (file)
@@ -14,7 +14,7 @@ texture_filter = 0
 material = SubResource("StandardMaterial3D_ul8mq")
 size = Vector2(50, 50)
 
 material = SubResource("StandardMaterial3D_ul8mq")
 size = Vector2(50, 50)
 
-[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_mhr6o"]
+[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_t6tpe"]
 data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
 
 [node name="World" type="Node3D"]
 data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
 
 [node name="World" type="Node3D"]
@@ -33,9 +33,12 @@ skeleton = NodePath("../..")
 [node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
 
 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
 [node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
 
 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
-shape = SubResource("ConcavePolygonShape3D_mhr6o")
+shape = SubResource("ConcavePolygonShape3D_t6tpe")
 
 [node name="player" parent="." instance=ExtResource("1_3tqxd")]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16)
 
 [node name="player" parent="." instance=ExtResource("1_3tqxd")]
 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16)
-speed = 5.0
-distance = 3.0
+distance = 5.0
+
+[connection signal="playerDestroyed" from="player" to="." method="_on_player_destroyed"]
+[connection signal="playerRestart" from="player" to="." method="_on_player_player_restart"]
+[connection signal="playerTurn" from="player" to="." method="_player_add_wall"]