|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.dynamics.constraintsolver.TypedConstraint
com.bulletphysics.dynamics.constraintsolver.Point2PointConstraint
public class Point2PointConstraint
Point to point constraint between two rigid bodies each with a pivot point that descibes the "ballsocket" location in local space.
| Nested Class Summary | |
|---|---|
static class |
Point2PointConstraint.ConstraintSetting
|
| Field Summary | |
|---|---|
Point2PointConstraint.ConstraintSetting |
setting
|
| Constructor Summary | |
|---|---|
Point2PointConstraint()
|
|
Point2PointConstraint(RigidBody rbA,
RigidBody rbB,
Vector3f pivotInA,
Vector3f pivotInB)
|
|
Point2PointConstraint(RigidBody rbA,
Vector3f pivotInA)
|
|
| Method Summary | |
|---|---|
void |
buildJacobian()
|
Vector3f |
getPivotInA(Vector3f out)
|
Vector3f |
getPivotInB(Vector3f out)
|
void |
setPivotA(Vector3f pivotA)
|
void |
setPivotB(Vector3f pivotB)
|
void |
solveConstraint(float timeStep)
|
void |
updateRHS(float timeStep)
|
| Methods inherited from class com.bulletphysics.dynamics.constraintsolver.TypedConstraint |
|---|
getAppliedImpulse, getConstraintType, getRigidBodyA, getRigidBodyB, getUid, getUserConstraintId, getUserConstraintType, setUserConstraintId, setUserConstraintType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Point2PointConstraint.ConstraintSetting setting
| Constructor Detail |
|---|
public Point2PointConstraint()
public Point2PointConstraint(RigidBody rbA,
RigidBody rbB,
Vector3f pivotInA,
Vector3f pivotInB)
public Point2PointConstraint(RigidBody rbA,
Vector3f pivotInA)
| Method Detail |
|---|
public void buildJacobian()
buildJacobian in class TypedConstraintpublic void solveConstraint(float timeStep)
solveConstraint in class TypedConstraintpublic void updateRHS(float timeStep)
public void setPivotA(Vector3f pivotA)
public void setPivotB(Vector3f pivotB)
public Vector3f getPivotInA(Vector3f out)
public Vector3f getPivotInB(Vector3f out)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||