navcat docs
    Preparing search index...

    Function isOffMeshConnectionConnected

    • Returns whether the off mesh connection with the given ID is currently connected to the navmesh. An off mesh connection may be disconnected if the start or end positions have no valid polygons nearby to connect to.

      Parameters

      • navMesh: NavMesh

        the navmesh

      • offMeshConnectionId: number

        the ID of the off mesh connection

      Returns boolean

      whether the off mesh connection is connected