|
RavEngine
|
Pre-made support mapping for built-in convex geometry types. More...
#include <PxGjkQueryExt.h>
Classes | |
| struct | BoxSupport |
| Pre-made support mapping for a box. More... | |
| struct | CapsuleSupport |
| Pre-made support mapping for a capsule. More... | |
| struct | ConvexGeomSupport |
| Pre-made support mapping for any PhysX's convex geometry (sphere, capsule, box, convex mesh) More... | |
| struct | ConvexMeshSupport |
| Pre-made support mapping for a convex mesh. More... | |
| struct | SphereSupport |
| Pre-made support mapping for a sphere. More... | |
Static Public Member Functions | |
| static bool | generateContacts (const PxGjkQuery::Support &a, const PxGjkQuery::Support &b, const PxTransform &poseA, const PxTransform &poseB, PxReal contactDistance, PxReal toleranceLength, PxContactBuffer &contactBuffer) |
| Generates a contact point between two shapes using GJK-EPA algorithm. | |
Pre-made support mapping for built-in convex geometry types.
|
static |
Generates a contact point between two shapes using GJK-EPA algorithm.
| [in] | a | Shape A support mapping |
| [in] | b | Shape B support mapping |
| [in] | poseA | Shape A transformation |
| [in] | poseB | Shape B transformation |
| [in] | contactDistance | The distance at which contacts begin to be generated between the shapes |
| [in] | toleranceLength | The toleranceLength. Used for scaling distance-based thresholds internally to produce appropriate results given simulations in different units |
| [out] | contactBuffer | A buffer to store the contact |