CollisionObjObj

April 27, 2022 ยท View on GitHub

from tdw.collision_data.collision_obj_obj import CollisionObjObj

A collision between two objects.


Fields

  • relative_velocity The relative velocity of the objects.

  • impulse The total impulse applied to the pair of objects to resolve the collision.

  • points The contact point positions.

  • normals The contact point normals.

  • state The state of the collision.


Functions

__init__

CollisionObjObj(collision)

ParameterTypeDefaultDescription
collisionCollisionThe collision output data.