-- implemented moveTowards and rotateTowards as mixins