Question by
jperrin · Apr 16, 2018 at 05:33 PM ·
collider2dtilemap
How to Check if Character is Grounded on Tilemap
Hi,
New to Unity here! What does the script look like for checking if the character is grounded on a Tilemap Composite Collider 2D? I had it working before by looping to check through a bunch of BoxColliders2D, but I think I'm missing something with how the Tilemap Colliders work. Is Tilemap considered one collider, or still a series of colliders I should loop through? Please and thank you!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612160902im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Ignore collisions with water if ground above water 0 Answers
[HELP] Player passes through red tiles even though it shouldn't 1 Answer
How to get position of tile on Tilemap Collider 2D? 0 Answers
TileMap2D awfull performance on Chunkloading 0 Answers
Rule Tiles across different (ground/!ground) tilemaps 0 Answers