Ray.Closest

Vec3 Closest(Vec3 to)

Calculates the point on the Ray that’s closest to the given point! This can be in front of, or behind the ray’s starting position.

   
Vec3 to Any point in the same coordinate space as the Ray.
RETURNS: Vec3 The point on the ray that’s closest to the given point.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!