com.bulletphysics.collision.narrowphase
Class PointCollector
java.lang.Object
com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.Result
com.bulletphysics.collision.narrowphase.PointCollector
public class PointCollector
- extends DiscreteCollisionDetectorInterface.Result
normalOnBInWorld
public final Vector3f normalOnBInWorld
pointInWorld
public final Vector3f pointInWorld
distance
public float distance
hasResult
public boolean hasResult
PointCollector
public PointCollector()
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