Skip to content

question on addTile argument flags #101

@lukasvd

Description

@lukasvd

In DtNavMesh.cs addTile is defined as

public DtStatus AddTile(DtMeshData data, int flags, long lastRef, out long result)

In DtMeshSetReader.cs the method is called with i as a tileIndex (and provided to the argument "flags")

mesh.AddTile(data, i, tileHeader.tileRef, out _);

than in the method tileIndex is extracted by means of "int tileIndex = DecodePolyIdTile(lastRef);"

I am a bit confused by this, could someone explain the function of flags (it is commented as > Tile flags. (See: #dtTileFlags), but I can't find this reference).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions