from tdw.collision_data.collision_obj_obj import CollisionObjObj
A collision between two objects.
-
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.
CollisionObjObj(collision)
| Parameter | Type | Default | Description |
|---|---|---|---|
| collision | Collision | The collision output data. |