Package com.bulletphysics.collision.narrowphase

Examples of com.bulletphysics.collision.narrowphase.GjkEpaPenetrationDepthSolver


  public DefaultCollisionConfiguration() {
    simplexSolver = new VoronoiSimplexSolver();
 
    //#define USE_EPA 1
    //#ifdef USE_EPA
    pdSolver = new GjkEpaPenetrationDepthSolver();
    //#else
    //pdSolver = new MinkowskiPenetrationDepthSolver();
    //#endif//USE_EPA 

    /*
 
View Full Code Here


      castResult.allowedPenetration = allowedPenetration;
      castResult.fraction = 1f; // ??

      ConvexShape convexShape = (ConvexShape) collisionShape;
      VoronoiSimplexSolver simplexSolver = new VoronoiSimplexSolver();
      GjkEpaPenetrationDepthSolver gjkEpaPenetrationSolver = new GjkEpaPenetrationDepthSolver();

      // JAVA TODO: should be convexCaster1
      //ContinuousConvexCollision convexCaster1(castShape,convexShape,&simplexSolver,&gjkEpaPenetrationSolver);
      GjkConvexCast convexCaster2 = new GjkConvexCast(castShape, convexShape, simplexSolver);
      //btSubsimplexConvexCast convexCaster3(castShape,convexShape,&simplexSolver);
View Full Code Here

TOP

Related Classes of com.bulletphysics.collision.narrowphase.GjkEpaPenetrationDepthSolver

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.