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§
- Time
OfImpact - The result of a time of impact computation between two moving
Collider
s.
Enums§
- Closest
Points - Information about the closest points between two
Collider
s.
Functions§
- closest_
points - Computes the
ClosestPoints
between twoCollider
s. - contact
- Computes one pair of contact points between two
Collider
s. - contact_
manifolds - Computes all
ContactManifold
s between twoCollider
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.
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
Collider
shapes.