from tdw.container_data.box_container import BoxContainer
A box-shaped container shape.
-
half_extentsThe half extents of the box. -
rotationThe rotation of the box relative to the parent object in Euler angles. -
tagThe collider's semanticContainerTag. -
positionThe position of the shape relative to the parent object.
BoxContainer(tag, position, half_extents, rotation)
| Parameter | Type | Default | Description |
|---|---|---|---|
| tag | ContainerTag | The box's semantic ContainerTag. |
|
| position | Dict[str, float] | The position of the box relative to the parent object. | |
| half_extents | Dict[str, float] | The half extents of the box. | |
| rotation | Dict[str, float] | The rotation of the box relative to the parent object in Euler angles. |