SphereContainer

May 11, 2022 ยท View on GitHub

from tdw.container_data.sphere_container import SphereContainer

A spherical container shape.


Fields

  • radius The radius of the sphere.

  • tag The collider's semantic ContainerTag.

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


Functions

__init__

SphereContainer(tag, position, radius)

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