BoxContainer

May 11, 2022 ยท View on GitHub

from tdw.container_data.box_container import BoxContainer

A box-shaped container shape.


Fields

  • half_extents The half extents of the box.

  • rotation The rotation of the box relative to the parent object in Euler angles.

  • tag The collider's semantic ContainerTag.

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


Functions

__init__

BoxContainer(tag, position, half_extents, rotation)

ParameterTypeDefaultDescription
tagContainerTagThe box's semantic ContainerTag.
positionDict[str, float]The position of the box relative to the parent object.
half_extentsDict[str, float]The half extents of the box.
rotationDict[str, float]The rotation of the box relative to the parent object in Euler angles.