how to implement ZOC(zone of control) ?

ZOC is common in turn-based strategy, means when a unit get near an enemy, it must stop.

seems it could be implement by dynamic penalty that always take remaining movementPoint of one turn
(unit.movementPoint - parent.G + cost + penalty) % movementPoint.

but I can’t access parent pathnode in traversalProvider.

Hi

I’m not sure if there’s a great solution for that with this package. It’s not a package geared towards board games in general, and as such its options there are a bit limited.