NPC AI Wall Detection

Hey everyone quick question. Im working on a 2d platformer. The problem is that i have these NPCs that are supposed to follow the main character. I want it so that when an NPC hits a wall It will attempt to jump over it. so far i have not been able to figure out how to describe a wall collision in game because on not if i can create an attribute based on directional collisions. I would appreciate any help.

Comments

Sign In or Register to comment.