public GjkPairDetector(ConvexShape objectA, ConvexShape objectB, int shapeTypeA, int shapeTypeB, float marginA, float marginB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) : base(btGjkPairDetector_new2(objectA._native, objectB._native, shapeTypeA, shapeTypeB, marginA, marginB, simplexSolver._native, (penetrationDepthSolver != null) ? penetrationDepthSolver._native : IntPtr.Zero)) { }
public CreateFunc(VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver pdSolver) : base(btConvex2dConvex2dAlgorithm_CreateFunc_new(simplexSolver._native, pdSolver._native), false) { _pdSolver = pdSolver; _simplexSolver = simplexSolver; }
public GjkPairDetector(ConvexShape objectA, ConvexShape objectB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) { IntPtr native = btGjkPairDetector_new(objectA.Native, objectB.Native, simplexSolver.Native, (penetrationDepthSolver != null) ? penetrationDepthSolver.Native : IntPtr.Zero); InitializeUserOwned(native); }
public CreateFunc(ConvexPenetrationDepthSolver pdSolver) : base(ConstructionInfo.Null) { IntPtr native = btConvexConvexAlgorithm_CreateFunc_new(pdSolver.Native); InitializeUserOwned(native); _pdSolver = pdSolver; }
public ContinuousConvexCollision(ConvexShape shapeA, ConvexShape shapeB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) { IntPtr native = btContinuousConvexCollision_new(shapeA.Native, shapeB.Native, simplexSolver.Native, penetrationDepthSolver.Native); InitializeUserOwned(native); }
public CreateFunc(VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver pdSolver) : base(ConstructionInfo.Null) { IntPtr native = btConvex2dConvex2dAlgorithm_CreateFunc_new(simplexSolver.Native, pdSolver.Native); InitializeUserOwned(native); _pdSolver = pdSolver; _simplexSolver = simplexSolver; }
public ContinuousConvexCollision(ConvexShape shapeA, ConvexShape shapeB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) : base(btContinuousConvexCollision_new(shapeA.Native, shapeB.Native, simplexSolver.Native, penetrationDepthSolver.Native)) { }
public ContinuousConvexCollision(ConvexShape shapeA, ConvexShape shapeB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) : base(btContinuousConvexCollision_new(shapeA._native, shapeB._native, simplexSolver._native, penetrationDepthSolver._native)) { }
public ConvexConvexAlgorithm(PersistentManifold mf, CollisionAlgorithmConstructionInfo ci, CollisionObjectWrapper body0Wrap, CollisionObjectWrapper body1Wrap, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver pdSolver, int numPerturbationIterations, int minimumPointsPerturbationThreshold) : base(btConvexConvexAlgorithm_new(mf._native, ci._native, body0Wrap._native, body1Wrap._native, simplexSolver._native, pdSolver._native, numPerturbationIterations, minimumPointsPerturbationThreshold)) { }
public void SetPenetrationDepthSolver(ConvexPenetrationDepthSolver penetrationDepthSolver) { btGjkPairDetector_setPenetrationDepthSolver(_native, penetrationDepthSolver._native); }
public GjkPairDetector(ConvexShape objectA, ConvexShape objectB, VoronoiSimplexSolver simplexSolver, ConvexPenetrationDepthSolver penetrationDepthSolver) : base(btGjkPairDetector_new(objectA._native, objectB._native, simplexSolver._native, (penetrationDepthSolver != null) ? penetrationDepthSolver._native : IntPtr.Zero)) { }
public CreateFunc(ConvexPenetrationDepthSolver pdSolver) : base(btConvexConvexAlgorithm_CreateFunc_new(pdSolver.Native), false) { _pdSolver = pdSolver; }