- A* version: [5.3.8]
- Unity version: [6.2]
Kind of a follow up the funnel modifier (string pulling modifier) issue on grid graphs, that reduces the path down to 2 points, resulting in a straight line that does not respect changes on the z-axis and therefore cuts the ground on 3d grid graphs.
Now i noticed, that while the “SimplySmoothModifier” only modifies the ABPath.path.vectorPath but does not touch ABPath.path itself, the “FunnelModifier” and the “StringPullingModifier” does actually change the ABPath.path directly and changes the ABPath.path.vectorPath.
The modification to the ABPath.path (visualized in blue) works pretty well by itself already (blue path), while the modification to the vectorPath results in the straight line, 2 point path issue (red path) mentioned earlier. (i hid the groundLayer for clearer view)
It would be amazing, if i could keep the ABPath.path created by the “FunnelModifier” and then run the “SimpleSmoothModifier” over it to change the ABPath.path.vectorPath to remove the jagged lines resulting from the restriction to graphNodes, without the “FunnelModifier” impacting the ABPath.path.vectorPath result directly. I didn’t quite understand where the preprocessing step takes place or where the FunnelModifier changes the graphNodes, since “var results” in Apply() only affects the vectorPath.


