Class GridStringPulling
Simplifies a path on a grid graph using a string pulling algorithm.
This is based on a paper called "Toward a String-Pulling Approach to Path Smoothing on Grid Graphs", with some optimizations as well as fixes for some edge cases that the paper didn't handle.
The result is conceptually similar to the well known funnel string pulling algorithm for navmesh graphs but it uses a different algorithm.
This class is used by the FunnelModifier on grid graphs.
Inner Types
Public Static Methods
Simplifies a path on a grid graph using a string pulling algorithm.
Intersection length of the given segment with a square of size Int3.Precision centered at nodeCenter.
Private/Protected Members
Cost of moving across all the nodes in the list, along the given segment.
Returns which side of the line a - b that p lies on.
Z | |.