Okay, basically inspired by a tutorial for a procedural Belt drive, In geometry nodes I have constructed a rudimentary Tank tread setup

What I want to do is configure it so that when the tread objects move then it drives the effect; in effect as the object moves on the local Y axis, the instanced cubes move to give the impression of tank tread movement. Now, I can achieve this effect if I am individually moving the object itself, however if I parent it to another object, in this case a central empty, in a more practical example it'd be some form of tank mesh and move that object the driver will not change value, thus not drive the effect.
In theory I can use the world space, but obviously the effect breaks if you rotate the effect, you could just use the parent for the driver, but when a treaded vehicle turns, one set of treads goes forward, one set goes backwards, an effect that would be impossible that way. is there a way, either through drivers or geometry nodes, to control the tread effect relative to the object's movement based on the obejct's local movement factoring movement driven by objects it is parented to.
Update: After about half an hour of tinkering I have got to 90 percent but the last bit still eludes me.
As you can see I have a total of 5 empties; two axis ones aligned to the origin point of each tread, two circles aligned to the exis empties, and one sphere empty positioned as the 'body between the two treads.
Now the circle empties are configured with a transform constraint set to their respective axis empty so that when the axis travel one meter on the local Y axis, the circle rotates on it's local X axis, which within the node tree has been hooked up to a separtate XYZ, with the X axis rotation powering the tank tread effect. the axis Empties are then parented to the sphere empty using a child of constraint (please note: this is essential, the effect is neutralized if one attempts it with the base parenting it must be a constraint) with the Circle empties parented to them (this can be done normally)
Not only does this achieve the desired effect that the treads run when I move the sphere empty as one would expect, but as I rotate the sphere, the different positions of the axis empties in comparison to the sphere empty mean the circles rotate in opposite directions, meaning the treads move in opposite directions, all of which is accurate to how tank tracks actually behave when turning.
however if I turn the sphere 90 degrees on the z axis by 90 degrees the circles cease rotation when moving on the Y axis, having performed further tests it seems that, despite constraint being set to local space and the axis empties registering the same local orientation as the parent empty, the Transform constraint seems to register the world alignment for some reason, with te effect only working now if you move on the X axis, at which point the 'tank' is moving sideways.
Can someone figure out a way to make the constraints actually work regardless of the rotation of the parent object?


