I am trying to create a navigation system for my AI which uses a series of points in 3D space. As the AI character travels through the waypoints, I would like it to do so in a curved fashion rather than simply going in a straight line between the points and abruptly turning at each new waypoint. My thinking is that so long as I have 3 sequential points, I should be able to calculate a path the follows a curve through the points, but I don’t have the first clue how to achieve this.
Hoping we have some math wizards on these forums that can help come up with the formula that, given a series of points, will let me calculate the x/y/z coordinates that correspond to the curve running through any 3 sequential points.
Thanks.
