Hi,
here the link to the documentation:
http://krpano.com/docu/actions/#tween
it's a bit difficult to explain, but here a try:
without distance() the tween will use the given time for changing the variable from the current value to the given one,
but with distance() it's possible to define the distance between a min and max value and the need that would be needed for that distance,
when the current value is now between the distance of the min/max values it would need a shorter time for changing,
I have made a quick example here:
http://krpano.com/krpano.html?xml=docu/a…eendistance.xml
click the both points and after 1-2 seconds click them again,
on each click they will change the direction,
the upper point will need 4 seconds for the whole way from left to right, but when clicked on
the way during moving it will need fewer time (relative to the new distance) for the rest way,
the lower point will need 4 seconds for every move, anytime, even if it is just a few pixels away
from the the destination,
best regards,
Klaus