Document toolboxDocument toolbox

2023.1.1175.2 Blockable Spawner



Overview

Can spawn DES actors on spline using a DES Cue. This spawning can be blocked by having a actor on the cue while trying to spawn.


Where to find

 

Or manually add a BlockableSpawner component to a Game Object in the scene.


Feature Layout

The image below shows the complete feature layout of the Blockable Spawner.

 

Specifications

 

Participant ID

Unique identifier of this DES participant.

Active In Simulation

If this object is active in DES simulation.

Blockable Spawner Settings

 

Spawn Count

Amount of objects spawned (read only)

Size

Amount of Recipes

Spawn Recipes

 

Recipe Name

Name of spawn recipe

Recipe change

The chance that this recipe is done (al the changes are added together and then you change is based on (your amount / total amount)).

Spawn prototype

A prototype of the DES actor that is spawned.

Starting Tensor Stored

Is for creating motion tensor component of spawned actor using view model https://unit040.atlassian.net/wiki/spaces/PRDO/pages/1818689943 .

Timed Spawn Interval Range

The time range wherein the objects are spawned if in Timed mode.

Random Spawning Seed

The seed of the random generator (this is to make sure that next simulation has the same randomness as the current simulation if values are asked at same order).

Spawn Mode

The type of spawning done.

  • Timed: spawning after a certain time. This time is determined by Timed Spawn Interval Range.

  • On Trigger: spawning is done when a trigger is activated.

Spawn Actors Verbose

The actors are spawned in verbose mode.

Spawning Is Blocked

If the spawner is blocked (read only).

Cues

 

Cue

Cues connected to this instructor.

x

Removes the connection from this cue to the instructor.

Add Cue

Adds extra cue to be connected to the instructor.

Probability (Advanced)

 

Probability

Change of recipe happening (is between 0 and 1).

Debugging

 

Verbose

Show added information of things applied to this participant

Report All Activities In Inspector

Report all activities and events done to this participant in the inspector.

Event Report

All the reported events of this participant (only visible/active if Report All Activities In Inspector is on)

Activity Report

All the reported activities of this participant (only visible/active if Report All Activities In Inspector is on)


How to use

  1. Create DES Controller.

  2. Create Spline and put it under DES Controller.

  3. Add DES Cue to Spline.

  4. Create Blockable Spawner.

  5. Connected Blockable Spawner to DES Cue by dragging Cue into Cues in Blockable Spawner inspector or dragging Instructor into Cue Instructor in Cue inspector.

  6. Indicated in what way you want to spawn actors.

Prespective Documentation