11-11-2013, 02:39 PM
I'm having a minor issue with basic mob movement, which I am using as a stepping stone to my A* algorithm. Every once in a while, when a mob encounters a wall that is two blocks high, it will continue to try to walk through it. This also seems to happen every once in a while with single high block walls.
The code that handles this is here: https://github.com/SamJBarney/MCServer/b...sition.cpp
Anyone see anything wrong? Oh, and this is not the final code. I've been toying with it, and so things are not as efficient as I originally had it.
The code that handles this is here: https://github.com/SamJBarney/MCServer/b...sition.cpp
Anyone see anything wrong? Oh, and this is not the final code. I've been toying with it, and so things are not as efficient as I originally had it.