holoride
Search Results for

    Show / Hide Table of Contents

    Pose Set Spawner

    Overview

    The Pose Set Spawner node offers spawning at input poses.

    The default Pose Set Spawner

    Detailed Explanation

    In comparison to other spawners, this very simple spawner only expects a set of poses. These poses can be generated and modified using other pose nodes and thus offer a lot of flexibility. Similar to other spawners we can customize the range in which the spawner will operate.

    Parameters

    Inputs

    Name Type Description
    Pose Set PoseSet Provides the poses with which to spawn the prefabs.

    Controls

    Name Type Description
    Extents float The extents of the square region around the player in which objects will be spawned.
    Prefab GameObject The prefab that will be spawned at the input poses.

    Use Cases

    Spawning away from roads and on top of the terrain

    The Pose Set Spawner spawning poses not on the road

    A common set-up for the Pose Set Spawner is to spawn prefabs that are not on the road and use the height from the heightmap. To ensure a minimum distance to the road we use the Road Network Mask and a Distance Transform node in combination with the Remove By Map node and feed it into the Pose Set Spawner. To make sure that the spawned objects are always on top of the terrain, we can use the Set Heights By Map node to push them up depending on the heightmap.

    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint