Function Navigation.getClosestPointNormal

Returns the surface normal at the navigation point closest to the point given. Useful for rotating a navigation agent according to the navigation mesh it moves on.

Vector3 getClosestPointNormal (
  const(Vector3) to_point
) nothrow @nogc;