com.bulletphysics.collision.narrowphase
Class PointCollector

java.lang.Object
  extended by com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.Result
      extended by com.bulletphysics.collision.narrowphase.PointCollector

public class PointCollector
extends DiscreteCollisionDetectorInterface.Result


Field Summary
 float distance
           
 boolean hasResult
           
 Vector3f normalOnBInWorld
           
 Vector3f pointInWorld
           
 
Constructor Summary
PointCollector()
           
 
Method Summary
 void addContactPoint(Vector3f normalOnBInWorld, Vector3f pointInWorld, float depth)
           
 void setShapeIdentifiers(int partId0, int index0, int partId1, int index1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

normalOnBInWorld

public final Vector3f normalOnBInWorld

pointInWorld

public final Vector3f pointInWorld

distance

public float distance

hasResult

public boolean hasResult
Constructor Detail

PointCollector

public PointCollector()
Method Detail

setShapeIdentifiers

public void setShapeIdentifiers(int partId0,
                                int index0,
                                int partId1,
                                int index1)
Specified by:
setShapeIdentifiers in class DiscreteCollisionDetectorInterface.Result

addContactPoint

public void addContactPoint(Vector3f normalOnBInWorld,
                            Vector3f pointInWorld,
                            float depth)
Specified by:
addContactPoint in class DiscreteCollisionDetectorInterface.Result