see, i have this fps im making and when i climb up a ladder or stand next to a wall, the gun will go through the wall :S… So, what im trying to acheive is what you would get if you made an overlay scene with the gun. That way it would always show in front of everything and not go through anything. BUT, i need to have animations and all of the faces have “light” selected so that doesnt work…
You need some good python scripting and (possibly more than one) ray sensor. To see a perfect example, download the Tribes demo and rub your gun against the wall.