Added auto-mapping NPC's direction from line's angle