I want my NPC to always try to maintain the high ground
I’m not too sure how I should be doing this.
I’ve tried looking around for devfourms to find a solution, nothing.
I tried to make it so before the NPC moves in it’s target’s direction, it’ll check the waypoints to see if its below the height that the NPC is on right now, can’t really check for the waypoints before the current waypoint, and if I try checking from the humanoid root part, or any bodypart, it would always return as being lower, since waypoints are generated at the very bottom, so nothing from the bodyparts will be on the same Y as the waypoints.
I hope I’ve provided enough information for someone to help me solve this. Thanks for reading.