Module contact_types

Source
Expand description

Contact types and data structures used in the collision pipeline.

Structs§

Collisions
A SystemParam for accessing and querying collision data.
ContactEdge
Cold contact data stored in the ContactGraph. Used as a persistent handle for a ContactPair.
ContactEdgeFlags
Flags for a ContactEdge.
ContactGraph
A resource that stores all ContactEdges in the physics world in an undirected graph, and their corresponding ContactPairs.
ContactId
A stable identifier for a ContactEdge.
ContactManifold
A contact manifold describing a contact surface between two colliders, represented by a set of contact points and surface properties.
ContactPair
A contact pair between two colliders.
ContactPairFlags
Flags indicating the status and type of a contact pair.
ContactPoint
Data associated with a contact point in a ContactManifold.
PackedFeatureId
A feature ID indicating the type of a geometric feature: a vertex, an edge, or (in 3D) a face.
SingleContact
Data related to a single contact between two bodies.

Type Aliases§

ContactGraphInternal
An undirected graph where each node is an entity and each edge is a ContactEdge.