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.

struct Navigation
@nogc nothrow
Vector3
getClosestPointNormal
(
in Vector3 to_point
)

Meta