com.bulletphysics.dynamics.constraintsolver
Class Point2PointConstraint
java.lang.Object
com.bulletphysics.dynamics.constraintsolver.TypedConstraint
com.bulletphysics.dynamics.constraintsolver.Point2PointConstraint
public class Point2PointConstraint
- extends TypedConstraint
Point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocket' location in local space.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setting
public Point2PointConstraint.ConstraintSetting setting
Point2PointConstraint
public Point2PointConstraint()
Point2PointConstraint
public Point2PointConstraint(RigidBody rbA,
RigidBody rbB,
javax.vecmath.Vector3f pivotInA,
javax.vecmath.Vector3f pivotInB)
Point2PointConstraint
public Point2PointConstraint(RigidBody rbA,
javax.vecmath.Vector3f pivotInA)
buildJacobian
public void buildJacobian()
- Specified by:
buildJacobian
in class TypedConstraint
solveConstraint
public void solveConstraint(float timeStep)
- Specified by:
solveConstraint
in class TypedConstraint
updateRHS
public void updateRHS(float timeStep)
setPivotA
public void setPivotA(javax.vecmath.Vector3f pivotA)
setPivotB
public void setPivotB(javax.vecmath.Vector3f pivotB)
getPivotInA
public javax.vecmath.Vector3f getPivotInA(javax.vecmath.Vector3f out)
getPivotInB
public javax.vecmath.Vector3f getPivotInB(javax.vecmath.Vector3f out)