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

  • tag The collider's semantic ContainerTag.

  • position The position of the shape relative to the parent object.


Functions

__init__

ContainerShape(tag, position)

ParameterTypeDefaultDescription
tagContainerTagThe shapes's semantic ContainerTag.
positionDict[str, float]The position of the shape relative to the parent object.