38 for (
int i = 0; i < 3; i++)
120 for (j = 0; j < 3; j++)
127 for (j = 0; j < 3; j++)
134 for (j = 0; j < 3; j++)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define btAssertConstrParams(_par)
@ POINT2POINT_CONSTRAINT_TYPE
Jacobian entry is an abstraction that allows to describe constraints it can be used in combination wi...
btMatrix3x3 transpose() const
Return the transpose of the matrix.
btPoint2PointConstraint(btRigidBody &rbA, btRigidBody &rbB, const btVector3 &pivotInA, const btVector3 &pivotInB)
virtual void buildJacobian()
internal method used by the constraint solver, don't use them directly
virtual void getInfo1(btConstraintInfo1 *info)
internal method used by the constraint solver, don't use them directly
void getInfo1NonVirtual(btConstraintInfo1 *info)
void updateRHS(btScalar timeStep)
void getInfo2NonVirtual(btConstraintInfo2 *info, const btTransform &body0_trans, const btTransform &body1_trans)
const btVector3 & getPivotInB() const
virtual void setParam(int num, btScalar value, int axis=-1)
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0...
bool m_useSolveConstraintObsolete
for backwards compatibility during the transition to 'getInfo/getInfo2'
virtual btScalar getParam(int num, int axis=-1) const
return the local value of parameter
const btVector3 & getPivotInA() const
btConstraintSetting m_setting
virtual void getInfo2(btConstraintInfo2 *info)
internal method used by the constraint solver, don't use them directly
The btRigidBody is the main class for rigid body objects.
btScalar getInvMass() const
const btVector3 & getInvInertiaDiagLocal() const
const btTransform & getCenterOfMassTransform() const
const btVector3 & getCenterOfMassPosition() const
TypedConstraint is the baseclass for Bullet constraints and vehicles.
btScalar m_appliedImpulse
btVector3 can be used to represent 3D points and vectors.
void getSkewSymmetricMatrix(btVector3 *v0, btVector3 *v1, btVector3 *v2) const
btScalar * m_J2angularAxis
btScalar * m_J1linearAxis
btScalar * m_J2linearAxis
btScalar * m_J1angularAxis
btScalar * m_constraintError