Will the tiles in the Godot tilemap collide with each other?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GiantArtisan

If they collide with each other, will it affect performance?

:bust_in_silhouette: Reply From: MisterMano

I’m assuming you’re talking about having 2 tilemaps, overlaid with one on top of the other, whose tiles’ collisions are overlapping.

They don’t collide with each other because they’re static bodies. These bodies don’t move and ignore physics, though they can apply and activate physics of other objects, so they won’t cause performance issues.

A tilemap with 2 overlapping tiles。The reason why I am asking is that there is a used by composite property in unity tilemap collider 2d, which can convert multiple colliders into a polygon collider. The reason is that each collider will collide with each other.

GiantArtisan | 2021-10-12 06:53