I now have a script that causes a cube to follow the player, but the problem is that it passes trough walls, and since it is not a ghost, that shouldn't happen. Anyone any idea how to fix this? All the walls have colliders, the cube does too.. for the follow script i used the lookat script and added transform.Translate to that. Hope you can help.
Never mind, added a rigidbody, and now it works like a charm