Trying to generate Area2D's representative of areas where characters can stand in a platformer type game

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

I have a pathfinding solution for games that are in a side-on perspective. It’s written in C#/XNA and I’m trying to translate it into something usable for Godot. However, for my solution to work, it requires some basic information that I’m having a difficult time reproducing in Godot. I need to be able to generate some sort of bounding box or polygon where a given character can stand (locations where there is a floor, and where any ceiling is high enough that they fit). In my original solution, to find these locations, I would iterate over tiles in a tilemap, and then check empty tiles above floor tiles to check for empty locations, but Godot’s tilemap doesn’t seem to have methods that offer this sort of information easily. Does anybody happen to have any sort of idea how I would go about doing this?