Quote:
Originally Posted by fowlplay4
Just check for walls where the players actually heading, no sense checking for walls behind yourself when you're walking forward.
|
Possibly... though in reality I make use of three sides -- the direction the player is heading, and the sides. One extra unchecked side isn't really going to hurt anything when it saves a bunch of math and checks.