public virtual int stepSimulation(float timeStep, int maxSubSteps, float fixedTimeStep)
        {
            int ret = BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_stepSimulation__SWIG_0(swigCPtr, timeStep, maxSubSteps, fixedTimeStep);

            return(ret);
        }
 public SoftBodyTetraData() : this(BulletSoftBodyPINVOKE.new_SoftBodyTetraData(), true)
 {
 }
 public void clearCache()
 {
     BulletSoftBodyPINVOKE.btSoftBodyConcaveCollisionAlgorithm_clearCache(swigCPtr);
 }
 public void resize(int newsize, int fillData)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_resize__SWIG_0(swigCPtr, newsize, fillData);
 }
        public SWIGTYPE_p_int expandNonInitializing()
        {
            SWIGTYPE_p_int ret = new SWIGTYPE_p_int(BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_expandNonInitializing(swigCPtr), false);

            return(ret);
        }
        public int at(int n)
        {
            int ret = BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_at__SWIG_0(swigCPtr, n);

            return(ret);
        }
 public void pop_back()
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_pop_back(swigCPtr);
 }
        public SWIGTYPE_p_btVector3 getAabbMax()
        {
            SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletSoftBodyPINVOKE.btSoftBodyTriangleCallback_getAabbMax(swigCPtr), false);

            return(ret);
        }
        public SWIGTYPE_p_int expand(int fillValue)
        {
            SWIGTYPE_p_int ret = new SWIGTYPE_p_int(BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_expand__SWIG_0(swigCPtr, fillValue), false);

            return(ret);
        }
 public virtual void processTriangle(SWIGTYPE_p_btVector3 triangle, int partId, int triangleIndex)
 {
     BulletSoftBodyPINVOKE.btSoftBodyTriangleCallback_processTriangle(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(triangle), partId, triangleIndex);
 }
 public void clearCache()
 {
     BulletSoftBodyPINVOKE.btSoftBodyTriangleCallback_clearCache(swigCPtr);
 }
 public btSoftBodyTriangleCallback(SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, bool isSwapped) : this(BulletSoftBodyPINVOKE.new_btSoftBodyTriangleCallback(SWIGTYPE_p_btDispatcher.getCPtr(dispatcher), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), isSwapped), true)
 {
 }
 public void addSoftBody(btSoftBody body, short collisionFilterGroup, short collisionFilterMask)
 {
     BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_addSoftBody__SWIG_0(swigCPtr, btSoftBody.getCPtr(body), collisionFilterGroup, collisionFilterMask);
 }
        public virtual int stepSimulation(float timeStep)
        {
            int ret = BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_stepSimulation__SWIG_2(swigCPtr, timeStep);

            return(ret);
        }
 public btAlignedObjectArrayInt() : this(BulletSoftBodyPINVOKE.new_btAlignedObjectArrayInt__SWIG_0(), true)
 {
 }
 public void push_back(int _Val)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_push_back(swigCPtr, _Val);
 }
        public int size()
        {
            int ret = BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_size(swigCPtr);

            return(ret);
        }
        public int capacity()
        {
            int ret = BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_capacity(swigCPtr);

            return(ret);
        }
 public void clear()
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_clear(swigCPtr);
 }
 public void reserve(int _Count)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_reserve(swigCPtr, _Count);
 }
 public void resizeNoInitialize(int newsize)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_resizeNoInitialize(swigCPtr, newsize);
 }
 public void swap(int index0, int index1)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_swap(swigCPtr, index0, index1);
 }
 public void resize(int newsize)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_resize__SWIG_1(swigCPtr, newsize);
 }
        public int findLinearSearch(int key)
        {
            int ret = BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_findLinearSearch(swigCPtr, key);

            return(ret);
        }
Example #25
0
 public Config() : this(BulletSoftBodyPINVOKE.new_Config(), true)
 {
 }
 public void remove(int key)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_remove(swigCPtr, key);
 }
 public btSoftBodyConcaveCollisionAlgorithm(SWIGTYPE_p_btCollisionAlgorithmConstructionInfo ci, SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, bool isSwapped) : this(BulletSoftBodyPINVOKE.new_btSoftBodyConcaveCollisionAlgorithm(SWIGTYPE_p_btCollisionAlgorithmConstructionInfo.getCPtr(ci), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body0Wrap), SWIGTYPE_p_btCollisionObjectWrapper.getCPtr(body1Wrap), isSwapped), true)
 {
     if (BulletSoftBodyPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletSoftBodyPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void initializeFromBuffer(SWIGTYPE_p_void buffer, int size, int capacity)
 {
     BulletSoftBodyPINVOKE.btAlignedObjectArrayInt_initializeFromBuffer(swigCPtr, SWIGTYPE_p_void.getCPtr(buffer), size, capacity);
 }
Example #29
0
 public void Initialize(int hashsize)
 {
     BulletSoftBodyPINVOKE.btSparseSdf3_Initialize__SWIG_0(swigCPtr, hashsize);
 }
 public virtual void debugDrawWorld()
 {
     BulletSoftBodyPINVOKE.btSoftRigidDynamicsWorld_debugDrawWorld(swigCPtr);
 }