CollisionObjObj
April 27, 2022 ยท View on GitHub
from tdw.collision_data.collision_obj_obj import CollisionObjObj
A collision between two objects.
Fields
-
relative_velocityThe relative velocity of the objects. -
impulseThe total impulse applied to the pair of objects to resolve the collision. -
pointsThe contact point positions. -
normalsThe contact point normals. -
stateThe state of the collision.
Functions
__init__
CollisionObjObj(collision)
| Parameter | Type | Default | Description |
|---|---|---|---|
| collision | Collision | The collision output data. |