Hello! I imported some buildings in my Unity project and now when I play the game I go through them. How can I fix this?
You need to add a Rigidbody and Box Collider ( Component > Physics > … )to both objects. ( Player, and wall )…
Also, if you are a starter, which I assume based on the question, you might want to check out some basic collision tutorials on YouTube .!
I hope this solves your issue !
Thanks you very much, but now I have another problem! I can go through trees and I can’t do the same thing with that.
It’s checked and still not working!