I'm trying to create a platformer, and trying to use the character controller at
https://github.com/prime31/CharacterController2D When using the generated mesh collider on the tilemap, the player falls through the platform. When I delete that mesh collider and manually add a box collider to the chunk, the player does not fall through.
I think I have narrowed it down to raycast not hitting on the mesh colliders, but hitting on the box collider, but I don't know where to start on addressing that. I don't think tilemap.GetTileIdAtPosition( worldClickPos, layer ) is the solution I'm looking for in this case.
I apologize, I'm new to Unity and tile maps, so I'm sure I'm missing something here.