The curve pair layout creates agents between two curves.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
agentType | string | yes | The agent type name. |
direction | vector3 | yes | Custom direction |
numAgents1 | int | no | Number of agents for the first curve |
numAgents2 | int | no | Number of agents for the second curve |
curve1 | curve | no | The first reference curve |
curve2 | curve | no | The second reference curve |
directionType | int | no |
|
invertDirection | bool | no | Invert the agent direction |
upVector | vector3 | yes | Agent up vector |
useCVs | bool | no | Creates the agents using the curve cvs instead of using the numAgent attributes |
numRows | int | no | The number of rows to generate between the curves |
seed | int | no | random seed |
randomRange | vector2 | no | Range for randomizing the number of agents at each row. The second value must be greater than the first one |
randomDistribution | bool | no | Enables the random distribution |
randomDistributionRange | vector2 | no | Range to randomize the distribution of the agents at each row. Values should be between 0 and 1, the second value must be greater than the first one |