Add move and rotate functions to rigidbody