navcat docs
    Preparing search index...

    Function worldToTilePosition

    • Returns the tile x and y position in the nav mesh from a world space position.

      Parameters

      • outTilePosition: Vec2

        the output tile position

      • navMesh: NavMesh

        the navigation mesh

      • worldPosition: Vec3

        the world space position

      Returns Vec2