Search Results for

    Show / Hide Table of Contents

    Terrain Area Type

    Role

    Defines an type that allows components to identify terrain objects in a map scene.

    Setup

    Right click in Project tab: Create -> RTS Engine -> Terrain Area Type

    Inspector

    image

    Property Description
    Layers All layers that the game objects of the terrain area uses must be added here.
    Key Provide a unique key for your terrain area, this is used by the RTS Engine components to identify the terrain area.
    Base Height This values allows to determine the initial height that the Terrain Manager would start searching at when it is searching for a valid position on this terrain area.
    Test Height Offset When testing whether a position is inside this area type (using a Raycast with a downwards direction), this offset value is added to the test position in order to avoid situations where the test position (usually detected via mouse click on terrain area) is too close to the area type.
    In This Article
    Back to top Unity RTS Engine Documentation