from tdw.container_data.container_shape import ContainerShape
Abstract base class for container shapes, which are used to detect containment events.
-
tag
The collider's semanticContainerTag
. -
position
The position of the shape relative to the parent object.
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. |