void set(RayCastInput rci) { p1.setFrom(rci.p1); p2.setFrom(rci.p2); maxFraction = rci.maxFraction; }