navcat docs
    Preparing search index...

    Function getClosestPointOnPolyBoundary

    • Gets the closest point on the boundary of a polygon to a given point

      Parameters

      • out: Vec3

        the output closest point

      • navMesh: NavMesh

        the navigation mesh

      • nodeRef: number

        the polygon reference

      • point: Vec3

        the point to find the closest point to

      Returns boolean

      whether the operation was successful