NPC AI Wall Detection
brice2109@me.com
Member Posts: 4
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
When overlaps or collides with actor of type/tag Wall, then
(Jump behaviors)
Best of luck,
- Thomas