diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2021-01-22 20:03:09 +0200 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2021-01-22 20:03:09 +0200 |
commit | 0c2dbd01dc407fd8b60de56a32a3d2a8a716ed9c (patch) | |
tree | 1f0bc7715541aa5b081e9100ddeb1b6dc9355b53 /doc/classes | |
parent | 3099f6fae4da58f6c55d7bf4a060e21b5968a0bf (diff) |
Document shape metadata for `TileMap`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TileMap.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index c500052592..2b918b9db8 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -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 PhysicsDirectSpaceState2D.intersect_shape], [method PhysicsDirectBodyState2D.get_contact_collider_shape_metadata] etc. </description> <tutorials> <link title="Using Tilemaps">https://docs.godotengine.org/en/latest/tutorials/2d/using_tilemaps.html</link> |