changed ray to not clone the position.