Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 654 Bytes

container_shape.md

File metadata and controls

26 lines (15 loc) · 654 Bytes

ContainerShape

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)

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.