BoxContainer
May 11, 2022 ยท View on GitHub
from tdw.container_data.box_container import BoxContainer
A box-shaped container shape.
Fields
-
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.
Functions
__init__
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. |