34 template <agx::UInt8 ShapeType1, agx::UInt8 ShapeType2>
42 agx::Physics::Geometry::ShapeInstance shape1, agx::Physics::Geometry::ShapeInstance shape2,
48 const Shape* shape1ptr = shape1.model();
49 const Shape* shape2ptr = shape2.model();
This namespace consists of a set of classes for handling geometric intersection tests including boole...
virtual void _calculateContacts(agx::Physics::Geometry::ShapeInstance shape1, agx::Physics::Geometry::ShapeInstance shape2, const agx::AffineMatrix4x4 &transform1, const agx::AffineMatrix4x4 &transform2, const agx::Vec3 &, const agx::Vec3 &, const agx::Vec3 &, const agx::Vec3 &, bool, LocalContactPointVector &result) override
virtual bool hasSupportFunction() const
virtual ~FallbackConvexCollider()
AGXPHYSICS_EXPORT void collideConvexConvex(const Shape *convexShape1, const Shape *convexShape2, const agx::AffineMatrix4x4 &transform1, const agx::AffineMatrix4x4 &transform2, ShapeCollider::LocalContactPointVector &result, const agx::Real epaAccuracy=agx::AGX_EQUIVALENT_EPSILON)
Collides two convex shapes (Box, Capsule, Convex, Cylinder, Sphere).
This template class can be instantiated to use Convex-Convex for shape pairs where no explicit collid...