void setMaxAppliedImpulseMultiDof(const btVector3 &maxImp)
virtual void setRhsClamp(btScalar rhsClamp)
virtual void setPositionTarget(const btQuaternion &posTarget, btScalar kp=1.f)
virtual void setErp(btScalar erp)
virtual void debugDraw(class btIDebugDraw *drawer)
virtual ~btMultiBodySphericalJointLimit()
virtual void createConstraintRows(btMultiBodyConstraintArray &constraintRows, btMultiBodyJacobianData &data, const btContactSolverInfo &infoGlobal)
btMultiBodySphericalJointLimit(btMultiBody *body, int link, btScalar swingxRange, btScalar swingyRange, btScalar twistRange, btScalar maxAppliedImpulse)
This file was written by Erwin Coumans.
btVector3 m_desiredVelocity
virtual void finalizeMultiDof()
virtual int getIslandIdA() const
virtual void setVelocityTargetMultiDof(const btVector3 &velTarget, const btVector3 &kd=btVector3(1.0, 1.0, 1.0))
virtual void setPositionTargetMultiDof(const btQuaternion &posTarget, const btVector3 &kp=btVector3(1.f, 1.f, 1.f))
virtual btScalar getErp() const
virtual void setVelocityTarget(const btVector3 &velTarget, btScalar kd=1.0)
btVector3 m_maxAppliedImpulseMultiDof
btQuaternion m_desiredPosition
btScalar getMaxAppliedImpulseMultiDof(int i) const
virtual int getIslandIdB() const