101 Real primaryFrictionCoefficient,
102 Real secondaryFrictionCoefficient,
103 const Vec3& contactPointPosition );
#define AGXPHYSICS_EXPORT
Constraint attachment pair class.
Constraint solver callback interface with context and start rows for context.
Elementary constraint base class with interface and global constraint functionality.
Constraint data used with GenericElementaryConstraint containing data such as; constraint violation,...
Generic elementary constraint with minimal amount of user callbacks to reduce development/prototype t...
virtual Bool isActive() const override
An elementary constraint is defined to be active if enabled.
ConstraintNlmcpCallback * getNlCallback() const override
GenericElementaryConstraint(UInt numRows)
Construct given the number of rows in this elementary constraint.
virtual ~GenericElementaryConstraint()
void setAttachmentPair(const AttachmentPair *ap) override
Call for elementary constraints dependent on attachment pairs.
void setEnableMultiTangentNlCallback(Bool enable, Real primaryFrictionCoefficient, Real secondaryFrictionCoefficient, const Vec3 &contactPointPosition)
ref_ptr< Referenced > m_multiTangentNlCallback
const AttachmentPair * getAttachmentPair() const
virtual Bool onPrepare()
Callback when the elementary constraints in the constraint receives the prepare call.
Bool getEnableMultiTangentNlCallback() const
virtual void onWriteData(GenericConstraintData *constraintData)
Callback when to write Jacobian and constraint data if this elementary constraint is active.
GenericElementaryConstraint(UInt numRows, Bool enable)
Construct given the number of rows in this elementary constraint and default enable flag.
GenericConstraintData * getConstraintData() const
const AttachmentPair * m_attachmentPair
void fetchData(const ConstraintRigidBodyContainer &bodies)
Performing callbacks and collecting data in serial.
GenericConstraintData m_constraintData
Smart pointer for handling referenced counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.