Document shape metadata for TileMap

(cherry picked from commit 0c2dbd01dc)
This commit is contained in:
Andrii Doroshenko (Xrayez) 2021-01-22 20:03:09 +02:00 committed by Rémi Verschelde
parent 39cf22a9c7
commit 0ff0fdef5c
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -5,6 +5,7 @@
</brief_description>
<description>
Node for 2D tile-based maps. Tilemaps use a [TileSet] which contain a list of tiles (textures plus optional collision, navigation, and/or occluder shapes) which are used to create grid-based maps.
When doing physics queries against the tilemap, the cell coordinates are encoded as [code]metadata[/code] for each detected collision shape returned by methods such as [method Physics2DDirectSpaceState.intersect_shape], [method Physics2DDirectBodyState.get_contact_collider_shape_metadata], etc.
</description>
<tutorials>
<link title="Using Tilemaps">https://docs.godotengine.org/en/3.2/tutorials/2d/using_tilemaps.html</link>