I really really need help! I am super upset right now! I have this scene with all the building that I place manually. 200+ plus bridges and other misc. things. All the sudden my player goes through these objects, when I put a box collider around the it (buildings) it makes a giant square box around it and it doesn’t fit to the actual shape of the building. Is there a script that makes it so that when my player collides with on of the building its make him not go through it? Thanks in advanced
Everything that should not be moving through each other needs a collider.
Like suggested you could either add box colliders to the size of the buildings or you use mesh colliders.
Do keep in mind that mesh colliders are the heaviest colliders, so as suggested by HarshadK use low poly buildings to keep your game running smoothly.
There is no short cut on this one and mesh collider sounds like the easiest way possible to me. but see how smooth things are going in game.
This may seem stupid but does your player have a collider? A character controller is a collider btw.
Check if the colliders are on the same container where the mesh is. You’ll see that the size of the collider would also be correct if you add it on the appropriate object (usually!!!).