Module avian3d::collision::contact_query
source · Expand description
Geometric queries for computing information about contacts between two Collider
s.
This module contains the following contact queries:
Contact query | Description |
---|---|
contact | Computes one pair of contact points between two Collider s. |
contact_manifolds | Computes all ContactManifold s between two Collider s. |
closest_points | Computes the closest points between two Collider s. |
distance | Computes the minimum distance separating two Collider s. |
intersection_test | Tests whether two Collider s are intersecting each other. |
time_of_impact | Computes when two moving Collider s hit each other for the first time. |
For geometric queries that query the entire world for intersections, like raycasting, shapecasting and point projection, see spatial queries.
Structs§
- The result of a time of impact computation between two moving
Collider
s.
Enums§
- Information about the closest points between two
Collider
s.
Functions§
- Computes the
ClosestPoints
between twoCollider
s. - Computes one pair of contact points between two
Collider
s. - Computes all
ContactManifold
s between twoCollider
s. - Computes the minimum distance separating two
Collider
s. - Tests whether two
Collider
s are intersecting each other. - Computes when two moving
Collider
s hit each other for the first time.
Type Aliases§
- The way the time of impact computation was terminated.
- An error indicating that a contact query is not supported for one of the
Collider
shapes.