SphereContainer
May 11, 2022 ยท View on GitHub
from tdw.container_data.sphere_container import SphereContainer
A spherical container shape.
Fields
-
radiusThe radius of the sphere. -
tagThe collider's semanticContainerTag. -
positionThe position of the shape relative to the parent object.
Functions
__init__
SphereContainer(tag, position, radius)
| Parameter | Type | Default | Description |
|---|---|---|---|
| tag | ContainerTag | The sphere's semantic ContainerTag. | |
| position | Dict[str, float] | The position of the sphere relative to the parent object. | |
| radius | float | The radius of the sphere. |