Skip to main content

Custom Path Adjustment

Path Adjustments are fully modular and Blueprint friendly. Allowing you to implement custom processing of a Path's PathSpline and PreSpawnSpline such as smoothing, pathfinding, projecting onto terrain, randomizing their shape, or adding a offset.

image


We provide a Blueprint example of Path Adjustment that demonstrates all of this feature capabilities - incrementally add vertical offset to Path.

Override the Process function to implement your adjustment. If the operation is too expensive to complete in a single frame but can be split across multiple frames, save any required state, process part of the work, and return false. The system will call the Process again on the next tick, allowing the adjustment to resume where it left off. Once processing is complete, return true.


To report the progress of a long-running adjustment, override the GetProgress function and return a value between 0.0 and 1.0, where 0.0 indicates processing has not started and 1.0 indicates it has finished.