Add defaultvalues to shootRay.