9 #include "imstkRigidBodyCH.h" 10 #include "imstkMacros.h" 12 using namespace imstk;
27 const std::vector<CollisionElement>& elementsA,
28 const std::vector<CollisionElement>& elementsB)
override;
34 std::shared_ptr<RigidObject2> rbdObj,
35 const Vec3d& contactPt,
const Vec3d& contactNormal,
36 const double contactDepth)
override;
39 Vec3d m_initContactPt = Vec3d::Zero();
40 Vec3d m_initNeedleAxes = Vec3d::Zero();
41 Quatd m_initNeedleOrientation = Quatd::Identity();
Creates rigid body contact and frictional constraints given collision data then adds them to the rigi...