Stadium layout

Stadium layout

The stadium layout module creates an arena of agents.

 


Attributes

Attributes

Type

Overridable

Description

Attributes

Type

Overridable

Description

agentType

string

yes

The agent type name.

shapeType

int

no

  • 0: Rectangle shape

  • 1: Ellipse shape

cornerRadius

double

no

Corner radius for rectangular stadiums.

doTopLeft

bool

no

Enables the top left corner.

doTop

bool

no

Enables the top side.

doTopRight

bool

no

Enables the top right corner.

doLeft

bool

no

Enables the left side.

doRight

bool

no

Enables the right side.

doBottomLeft

bool

no

Enables the bottom left corner.

doBottom

bool

no

Enables the bottom corner.

doBottomRight

bool

no

Enables the bottom right corner.

randomDirection

vector3

no

Random factors for each axis of the direction vector.

size

vector2

no

  • x: x size

  • y: z size

steps

int

no

Number of steps

step

vector3

no

  • x: step width

  • y: step height

  • z: step depth

upVector

vector3

yes

Agent up vector

seed

int 

no 

Random seed 

applyPelvisHeightOffset

bool

no

If true, offsets the agent height according to the distance between the average feet position and the pelvis position in bind pose


 

Copyright © 2017, Toolchefs LTD.