public class btGjkPairDetector extends btDiscreteCollisionDetectorInterface
btDiscreteCollisionDetectorInterface.ClosestPointInput, btDiscreteCollisionDetectorInterface.ResultclassName| Constructor and Description |
|---|
btGjkPairDetector(btConvexShape objectA,
btConvexShape objectB,
btVoronoiSimplexSolver simplexSolver,
btConvexPenetrationDepthSolver penetrationDepthSolver) |
btGjkPairDetector(btConvexShape objectA,
btConvexShape objectB,
int shapeTypeA,
int shapeTypeB,
float marginA,
float marginB,
btVoronoiSimplexSolver simplexSolver,
btConvexPenetrationDepthSolver penetrationDepthSolver) |
btGjkPairDetector(long cPtr,
boolean cMemoryOwn)
Construct a new btGjkPairDetector, normally you should not need this constructor it's intended for low-level usage.
|
getCPtrdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btGjkPairDetector(long cPtr,
boolean cMemoryOwn)
public btGjkPairDetector(btConvexShape objectA, btConvexShape objectB, btVoronoiSimplexSolver simplexSolver, btConvexPenetrationDepthSolver penetrationDepthSolver)
public btGjkPairDetector(btConvexShape objectA, btConvexShape objectB, int shapeTypeA, int shapeTypeB, float marginA, float marginB, btVoronoiSimplexSolver simplexSolver, btConvexPenetrationDepthSolver penetrationDepthSolver)
public static long getCPtr(btGjkPairDetector obj)
public void setLastUsedMethod(int value)
public int getLastUsedMethod()
public void setCurIter(int value)
public int getCurIter()
public void setDegenerateSimplex(int value)
public int getDegenerateSimplex()
public void setCatchDegeneracies(int value)
public int getCatchDegeneracies()
public void setFixContactNormalDirection(int value)
public int getFixContactNormalDirection()
public void getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input, btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw, boolean swapResults)
getClosestPoints in class btDiscreteCollisionDetectorInterfacepublic void getClosestPoints(btDiscreteCollisionDetectorInterface.ClosestPointInput input, btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw)
getClosestPoints in class btDiscreteCollisionDetectorInterfacepublic void getClosestPointsNonVirtual(btDiscreteCollisionDetectorInterface.ClosestPointInput input, btDiscreteCollisionDetectorInterface.Result output, btIDebugDraw debugDraw)
public void setMinkowskiA(btConvexShape minkA)
public void setMinkowskiB(btConvexShape minkB)
public void setCachedSeperatingAxis(Vector3 seperatingAxis)
public Vector3 getCachedSeparatingAxis()
public float getCachedSeparatingDistance()
public void setPenetrationDepthSolver(btConvexPenetrationDepthSolver penetrationDepthSolver)
public void setIgnoreMargin(boolean ignoreMargin)
Copyright © 2021. All rights reserved.