We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 921f20d + 665d29c commit 3a750b7Copy full SHA for 3a750b7
TilemapCollisionBaker.gd
@@ -112,7 +112,7 @@ func run_code(_fake_bool = null):
112
continue
113
114
var tile_y_distance = abs(temp_collider.position.y - last_collider_pos.y) / tile_size.y
115
- if last_collider_pos.x == temp_collider.position.x and tile_y_distance == 1:
+ if last_collider_pos.x == temp_collider.position.x and tile_y_distance == 1 and temp_collider.shape.size.x == last_collider.shape.size.x:
116
#print("Adding 1 to the merge")
117
colliders_to_merge += 1
118
last_collider_pos = temp_collider.position
0 commit comments