How to do a raycast to make my player unable to move through certain objects?

Im making a 2D top-down game where the player walks around and in different ways interacts with the environment (like the first Zelda games). All graphics are displayed on planes, however I have given them box colliders to make sure they collide with each other, which they also do.

What I want is to make the player unable to move through objects with a certain tag. And since I dont want any physics in the game, I dont want to use the Rigidbody physics.

Any ideas? I’ve heard that raycasting might do the trick, but im not very familiar with it.

although this is meant for physics, there is no reason you couldn’t use the same technique :

http://wiki.unity3d.com/index.php?title=DontGoThroughThings

Useful tutorial : Unity 3D Student - 3d Modelling

more from Unity3Dstudent (start at the bottom of the page, then work up) : Unity 3D Student - 3d Modelling

The Unity Scripting Reference : Unity - Scripting API: Physics.Raycast

Thanks! Ill give it a try.