Fixed Bugs; Temporarily removed I-Block

This commit is contained in:
Exobyt 2024-08-20 01:04:19 +02:00
parent ee5e17c3e0
commit 956b719e62
4 changed files with 27 additions and 11 deletions

View file

@ -115,10 +115,18 @@ func turn(direction, newPosition):
func getCollidingAreas():
collision.force_update_transform()
#collision.monitoring = false
#collision.monitorable = false
#await get_tree().process_frame
#await get_tree().process_frame
#collision.monitoring = true
collision.monitorable = false
await get_tree().process_frame
collision.monitorable = true
collision.monitorable = false
await get_tree().process_frame
await get_tree().process_frame
await get_tree().process_frame
collision.monitorable = true
var collidingAreas = []
for i in collision.get_overlapping_areas():
if i.is_in_group("Block"):