CollisionObjEnv
March 9, 2022 ยท View on GitHub
from tdw.collision_data.collision_obj_env import CollisionObjEnv
A collision between an object and the environment.
Fields
-
floorTrue if this is a collision with the floor. -
pointsThe contact point positions. -
normalsThe contact point normals. -
stateThe state of the collision.
Functions
__init__
CollisionObjEnv(collision)
| Parameter | Type | Default | Description |
|---|---|---|---|
| collision | EnvironmentCollision | The collision output data. |