Code: Select all
btPoint2PointConstraint (btRigidBody &rbA, const btVector3 &pivotInA)If it constrains the pivot point between 2 rigid bodies, what's the meaning of a constructor that only takes on rigid body? What does it constrain between? What's its usefulness?Point to point constraint limits the translation so that the local pivot points of 2 rigidbodies match in worldspace. A chain of rigidbodies can be connected using this constraint.