That works really good as well txesmi. I like the fact that if you get to close to the wall when using your code, you cannot see the other side of the wall at all when you rotate the player, and you actually go into first person point of view before ever seeing the other side of the wall. Thank you. This is all really good code.