public SWIGTYPE_p_btDispatcherInfo getDispatchInfo() {
   SWIGTYPE_p_btDispatcherInfo ret = new SWIGTYPE_p_btDispatcherInfo(BulletCollisionPINVOKE.btCollisionWorld_getDispatchInfo__SWIG_0(swigCPtr), false);
   return ret;
 }
Exemplo n.º 2
0
 public virtual void processCollision(SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
 {
     BulletSoftBodyPINVOKE.btSoftRigidCollisionAlgorithm_processCollision(swigCPtr, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public virtual float calculateTimeOfImpact(SWIGTYPE_p_btCollisionObject body0, SWIGTYPE_p_btCollisionObject body1, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
        {
            float ret = BulletSoftBodyPINVOKE.btSoftRigidCollisionAlgorithm_calculateTimeOfImpact(swigCPtr, SWIGTYPE_p_btCollisionObject.getCPtr(body0), SWIGTYPE_p_btCollisionObject.getCPtr(body1), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));

            if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public virtual void dispatchAllCollisionPairs(SWIGTYPE_p_btOverlappingPairCache pairCache, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btDispatcher dispatcher)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_dispatchAllCollisionPairs(swigCPtr, SWIGTYPE_p_btOverlappingPairCache.getCPtr(pairCache), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btDispatcher.getCPtr(dispatcher));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void defaultNearCallback(SWIGTYPE_p_btBroadphasePair collisionPair, btCollisionDispatcher dispatcher, SWIGTYPE_p_btDispatcherInfo dispatchInfo)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_defaultNearCallback(SWIGTYPE_p_btBroadphasePair.getCPtr(collisionPair), btCollisionDispatcher.getCPtr(dispatcher), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void defaultNearCallback(SWIGTYPE_p_btBroadphasePair collisionPair, btCollisionDispatcher dispatcher, SWIGTYPE_p_btDispatcherInfo dispatchInfo)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_defaultNearCallback(SWIGTYPE_p_btBroadphasePair.getCPtr(collisionPair), btCollisionDispatcher.getCPtr(dispatcher), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void dispatchAllCollisionPairs(SWIGTYPE_p_btOverlappingPairCache pairCache, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btDispatcher dispatcher)
 {
     BulletCollisionPINVOKE.btCollisionDispatcher_dispatchAllCollisionPairs(swigCPtr, SWIGTYPE_p_btOverlappingPairCache.getCPtr(pairCache), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btDispatcher.getCPtr(dispatcher));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
 public void setTimeStepAndCounters(float collisionMarginTriangle, SWIGTYPE_p_btCollisionObjectWrapper triObjWrap, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
 {
     BulletSoftBodyPINVOKE.btSoftBodyTriangleCallback_setTimeStepAndCounters(swigCPtr, collisionMarginTriangle, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(triObjWrap), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btDispatcherInfo obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public virtual void processCollision(SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
 {
     BulletSoftBodyPINVOKE.btSoftSoftCollisionAlgorithm_processCollision(swigCPtr, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual float calculateTimeOfImpact(SWIGTYPE_p_btCollisionObject body0, SWIGTYPE_p_btCollisionObject body1, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
 {
     float ret = BulletSoftBodyPINVOKE.btSoftSoftCollisionAlgorithm_calculateTimeOfImpact(swigCPtr, SWIGTYPE_p_btCollisionObject.getCPtr(body0), SWIGTYPE_p_btCollisionObject.getCPtr(body1), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending) throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
        public SWIGTYPE_p_btDispatcherInfo getDispatchInfo()
        {
            SWIGTYPE_p_btDispatcherInfo ret = new SWIGTYPE_p_btDispatcherInfo(BulletCollisionPINVOKE.btCollisionWorld_getDispatchInfo__SWIG_0(swigCPtr), false);

            return(ret);
        }
 public void setTimeStepAndCounters(float collisionMarginTriangle, SWIGTYPE_p_btCollisionObjectWrapper triObjWrap, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btManifoldResult resultOut)
 {
     BulletSoftBodyPINVOKE.btSoftBodyTriangleCallback_setTimeStepAndCounters(swigCPtr, collisionMarginTriangle, SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(triObjWrap), SWIGTYPE_p_btDispatcherInfo.getCPtr(dispatchInfo), SWIGTYPE_p_btManifoldResult.getCPtr(resultOut));
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btDispatcherInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }