I am trying to create logic to detect if a randomly placed object is inside an OSM building. Since the mesh colliders for the OSM Buildings only applies to the outside is there any way to do this? I have tried using RayCasts and Collision detection logic, but those do not work since the inside of the building has no colliders applied to them. Is there a way to add them to the OSM Building generation or another way to detect if a game object is inside an OSM Building?
Rather than ray casting from the game object outward and checking if you hit a building, reverse it. Cast a ray from a large height above the game object, down toward the game object, and see if that ray hits a building.
That did the trick! Thanks!