Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 920 Bytes

box_container.md

File metadata and controls

32 lines (19 loc) · 920 Bytes

BoxContainer

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)

Parameter Type Default Description
tag ContainerTag The box's semantic ContainerTag.
position Dict[str, float] The position of the box relative to the parent object.
half_extents Dict[str, float] The half extents of the box.
rotation Dict[str, float] The rotation of the box relative to the parent object in Euler angles.