Ray set(Vector3 origin, Vector3 direction) { this.origin.copy(origin); this.direction.copy(direction); return this; }