com.bulletphysics.collision.narrowphase
Class ManifoldPoint
java.lang.Object
com.bulletphysics.collision.narrowphase.ManifoldPoint
public class ManifoldPoint
- extends Object
ManifoldPoint collects and maintains persistent contactpoints. Used to improve
stability and performance of rigidbody dynamics response.
localPointA
public final Vector3f localPointA
localPointB
public final Vector3f localPointB
positionWorldOnB
public final Vector3f positionWorldOnB
positionWorldOnA
public final Vector3f positionWorldOnA
normalWorldOnB
public final Vector3f normalWorldOnB
distance1
public float distance1
combinedFriction
public float combinedFriction
combinedRestitution
public float combinedRestitution
partId0
public int partId0
partId1
public int partId1
index0
public int index0
index1
public int index1
userPersistentData
public Object userPersistentData
appliedImpulse
public float appliedImpulse
lateralFrictionInitialized
public boolean lateralFrictionInitialized
appliedImpulseLateral1
public float appliedImpulseLateral1
appliedImpulseLateral2
public float appliedImpulseLateral2
lifeTime
public int lifeTime
lateralFrictionDir1
public final Vector3f lateralFrictionDir1
lateralFrictionDir2
public final Vector3f lateralFrictionDir2
ManifoldPoint
public ManifoldPoint()
ManifoldPoint
public ManifoldPoint(Vector3f pointA,
Vector3f pointB,
Vector3f normal,
float distance)
init
public void init(Vector3f pointA,
Vector3f pointB,
Vector3f normal,
float distance)
getDistance
public float getDistance()
getLifeTime
public int getLifeTime()
set
public void set(ManifoldPoint p)
getPositionWorldOnA
public Vector3f getPositionWorldOnA(Vector3f out)
getPositionWorldOnB
public Vector3f getPositionWorldOnB(Vector3f out)
setDistance
public void setDistance(float dist)