controls demo node for keeping stable distance from target