Expand description
Geometric queries for computing information about contacts between two Colliders.
This module contains the following contact queries:
| Contact query | Description |
|---|---|
contact | Computes one pair of contact points between two Colliders. |
contact_manifolds | Computes all ContactManifolds between two Colliders. |
closest_points | Computes the closest points between two Colliders. |
distance | Computes the minimum distance separating two Colliders. |
intersection_test | Tests whether two Colliders are intersecting each other. |
time_of_impact | Computes when two moving Colliders 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§
- Time
OfImpact - The result of a time of impact computation between two moving
Colliders.
Enums§
- Closest
Points - Information about the closest points between two
Colliders.
Functions§
- closest_
points - Computes the
ClosestPointsbetween twoColliders. - contact
- Computes one pair of contact points between two
Colliders. - contact_
manifolds - Computes all
ContactManifolds between twoColliders. - distance
- Computes the minimum distance separating two
Colliders. - intersection_
test - Tests whether two
Colliders are intersecting each other. - time_
of_ impact - Computes when two moving
Colliders hit each other for the first time.
Type Aliases§
- Time
OfImpact Status - The way the time of impact computation was terminated.
- Unsupported
Shape - An error indicating that a contact query is not supported for one of the
Collidershapes.