Package com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface

Examples of com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.ClosestPointInput


    //result.drawCoordSystem(sphereTr);

    PointCollector pointCollector = new PointCollector();

    gjk.init(convexA, convexB, simplexSolver, null); // penetrationDepthSolver);   
    ClosestPointInput input = pointInputsPool.get();
    input.init();
    try {
      // we don't use margins during CCD
      //  gjk.setIgnoreMargin(true);

      input.transformA.set(fromA);
View Full Code Here


//  #else

    ConvexShape min0 = (ConvexShape) body0.getCollisionShape();
    ConvexShape min1 = (ConvexShape) body1.getCollisionShape();

    ClosestPointInput input = pointInputsPool.get();
    input.init();

    // JAVA NOTE: original: TODO: if (dispatchInfo.m_useContinuous)
    gjkPairDetector.setMinkowskiA(min0);
    gjkPairDetector.setMinkowskiB(min1);
    input.maximumDistanceSquared = min0.getMargin() + min1.getMargin() + manifoldPtr.getContactBreakingThreshold();
View Full Code Here

TOP

Related Classes of com.bulletphysics.collision.narrowphase.DiscreteCollisionDetectorInterface.ClosestPointInput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.