Search Results for

    Show / Hide Table of Contents

    Generator Constraints

    Note

    Generator constraints are only available in Tessera Pro

    These constraints control the global behaviour of generation. They are very powerful, but can use generation to fail more frequently.

    To use them, find the game object that has the generator, and add additional components to it from the Component > Tessera menu.

    At present the constraints are:

    • CountConstraint - ensures the number of tiles in a given set is less than / more than a given number.
    • MirrorConstraint - ensures the output remains symmetric.
    • PathConstraint - detects contiguous paths between tiles, and ensures various properties about those paths, such as connectedness.
    • SeparationConstraint - ensures that the given tiles are spaced at least a certain distance apart
    • BorderConstraint - ensures that the given tiles are palced at the border of the generation, similar to skyboxes

    There is a tutorial on how to use path constraints.

    In this article
    Back to top Generated by DocFX