You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
i’ve already figured out how to move the npc forward, but i just cant seem to wrap my head around the math required to moving an npc around a corner, btw im not using humanoids, its not what im looking for.
What is the issue? Include screenshots / videos if possible!
its incredibly difficult for me, and way above my level and im also trying to optimize my game as much as possible so i put 1 large node on a corner and then the npc curves through the node, i know this is possible since i’ve seen a twitter post i stumbled across while searching through twitter, the dev (who made that) said he used 1 node on a corner and smoothed it out with “some hacky math” achieve this. Im just looking for guidance, or if possible people who know the forumla/algorithm. (im guessing the dev took the npc position when it reached the point and calculated the position on the other side of the node then connected the 2 points?)
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
i’ve searched and searched through the devforum and even on websites like stackoverflow but none of them seem to have what im looking for Twitter Video Here
Looks like a grid shaped path finding system since the path is blocky.
Since the path is all squares at the corners and the entry and exit points are at the center of the path that means the curve is circular.
The node Atrazine is probably talking about is labeled as the blue one above and to calculate the position around that point you can use cos and sin to get the position from there.
Sorry for late reply, but i’ve been trying to impliment this into my game for a while but it always rotates to a different position when is finishes and since im using nodes it looks bad, did i also mention that the npcs have an offset? I might be missing something but it doesnt work for me