Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 485 Bytes

collision_base.md

File metadata and controls

27 lines (15 loc) · 485 Bytes

CollisionBase

from tdw.collision_data.collision_base import CollisionBase

Abstract base class for collision data.


Fields

  • points The contact point positions.

  • normals The contact point normals.

  • state The state of the collision.


Functions

__init__

CollisionBase(collision)

Parameter Type Default Description
collision Union[Collision, EnvironmentCollision] The collision output data.