ContainerShape
May 11, 2022 ยท View on GitHub
from tdw.container_data.container_shape import ContainerShape
Abstract base class for container shapes, which are used to detect containment events.
Fields
-
tagThe collider's semanticContainerTag. -
positionThe position of the shape relative to the parent object.
Functions
__init__
ContainerShape(tag, position)
| Parameter | Type | Default | Description |
|---|---|---|---|
| tag | ContainerTag | The shapes's semantic ContainerTag. | |
| position | Dict[str, float] | The position of the shape relative to the parent object. |