04-29-2015, 06:32 AM
I cobbled up something that works a little better.
Currently the AI hates flowers.
I have a BLOCKTYPE and a NIBBLETYPE, I'd like to know the given block is walkable or not. Right now I check if it's of type E_BLOCK_AIR. This is a bad idea because grass and flowers and such will be considered solid that way. How can I check if a given block is walkable or not?
Currently the AI hates flowers.
I have a BLOCKTYPE and a NIBBLETYPE, I'd like to know the given block is walkable or not. Right now I check if it's of type E_BLOCK_AIR. This is a bad idea because grass and flowers and such will be considered solid that way. How can I check if a given block is walkable or not?