A constraint between two rigid bodies, each with a pivot point. More...
Public Member Functions | |
BulletSphericalConstraint (BulletRigidBodyNode const node_a, BulletRigidBodyNode const node_b, Point3 const pivot_a, Point3 const pivot_b) | |
BulletSphericalConstraint (BulletRigidBodyNode const node_a, Point3 const pivot_a) | |
Point3 | getPivotInA () |
Point3 | getPivotInB () |
setPivotA (Point3 const pivot_a) | |
setPivotB (Point3 const pivot_b) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A constraint between two rigid bodies, each with a pivot point.
The pivot points are described in the body's local space. The constraint limits movement of the two rigid bodies in such a way that the pivot points match in global space. The spherical constraint can be seen as a "ball and socket" joint.
BulletSphericalConstraint | ( | BulletRigidBodyNode const | node_a, |
BulletRigidBodyNode const | node_b, | ||
Point3 const | pivot_a, | ||
Point3 const | pivot_b | ||
) |
BulletSphericalConstraint | ( | BulletRigidBodyNode const | node_a, |
Point3 const | pivot_a | ||
) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from BulletConstraint.
Point3 getPivotInA | ( | ) |
Point3 getPivotInB | ( | ) |
setPivotA | ( | Point3 const | pivot_a | ) |
setPivotB | ( | Point3 const | pivot_b | ) |